Changeset 26 in libcf for trunk/src/cf_file.c


Ignore:
Timestamp:
02/04/13 17:00:53 (11 years ago)
Author:
cheese
Message:

#1 documentation with doxygen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cf_file.c

    r16 r26  
    2020#else // #ifdef _WIN32
    2121# include <unistd.h>
     22# define O_BINARY       0x00000000
    2223#endif // #ifdef _WIN32
    2324
     
    2829              const CF_FILE_FLAG    flag)
    2930{
    30     int result = open (path, flag);
     31    int result = open (path, flag|O_BINARY);
    3132
    3233    if (result < 0)
     
    7374        return CF_ERROR_FILE_READ;
    7475
    75     return CF_OK;
     76    return result;
    7677}
    7778
Note: See TracChangeset for help on using the changeset viewer.