dbReadInt | GoAhead WebServer API | GoAhead EMF
## Synopsis Retrieves integer values from the databases. ## Prototype
     #include "emfdb.h"

     int dbReadInt(int did, char_t* table, char_t* column,
          int row, int *returnValue);
## Parameters
did | returned database ID
table | table name in the database
column | column name in the table
row | row number in the column
returnValue | pointer to an integer to contain the value read from the database
## Description Read an integer from the database. ## Return Value dbReadInt returns the integer database element in returnValue. It returns 0 if successful, or -1 on errors. ## Example
    int driveno;
    if (dbReadInt(smd, "base_fs_static", "disk", row, &driveno) < 0) {
        /* Error */
    }
## See Also dbReadStr ##