Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions  Download package

externC void sqlfreaddirc ( void *  dirHandle,
tsp00_C256 *  fname,
tsp05_RteFileError *  ferr 

Reads the next name from a directory.

dirHandle [in] the directory handle
fname [out] the resulting filename
ferr [out] error information

Definition at line 5867 of file veo06.c.

Referenced by sqlfopendirc().

#undef MF__
#define MF__ MOD__"sqlfreaddirc"          /* UNIX */
    struct dirent* dirEntry;
    eo06_clearError (ferr);
    dirEntry = readdir ((DIR*) dirHandle);
    if (dirEntry != NULL) {
        strncpy ((char *)*fname, dirEntry->d_name, sizeof (tsp00_C256));
        (*fname)[sizeof (tsp00_C256) - 1] = '\0';
    else {
        eo06_eofError (ferr);

Generated by  Doxygen 1.6.0   Back to index