# mco_runtime_getoption
RT

> Get a runtime option value.

### Prototype

        int mco_runtime_getoption(	int option )

### Arguments

option | The option to retrieve (see page Runtime Options for the possible values)

### Description

> Returns the value of the specified runtime option.

### Return Codes

int | An integer value of the specified runtime option

### Example

        Application snippet:

        int main(int argc, char* argv[])
        {
            int val = 0;

            mco_runtime_start();
            ...

            val = mco_runtime_getoption( MCO_RT_OPTION_DATETIME_PRECISION );

            ...
        }

### Files

Header file:
mco.h
Source file:
mcodb.c
Library:
libmcolib.a
Header file:
mco.h
Source file:
corestub.c
Library:
libmcorsqlstub.a