Files | |
| file | rpmio.h |
| file | rpmurl.h |
| file | rpmmacro.h |
| file | rpmlog.h |
| Yet Another syslog(3) API clone. | |
| file | rpmsq.h |
| file | rpmsw.h |
| file | rpmfileutil.h |
| File and path manipulation helper functions. | |
| file | rpmgi.h |
Typedefs | |
| typedef off_t | _libio_off_t |
| Hide libio API lossage. | |
| typedef struct FDIO_s * | FDIO_t |
| typedef off_t _libio_off_t |
| enum fdOpX_e |
| int Fcntl | ( | FD_t | fd, | |
| int | op, | |||
| void * | lip | |||
| ) |
fcntl(2) clone.
| FILE* fdGetFILE | ( | FD_t | fd | ) |
Get associated FILE stream from fd (if any).
| FD_t fdLink | ( | void * | cookie, | |
| const char * | msg | |||
| ) |
| FD_t fdNew | ( | const char * | msg | ) |
| int fdReadable | ( | FD_t | fd, | |
| int | secs | |||
| ) |
| off_t fdSize | ( | FD_t | fd | ) |
| int fdWritable | ( | FD_t | fd, | |
| int | secs | |||
| ) |
| int Fflush | ( | FD_t | fd | ) |
fflush(3) clone.
| int Fileno | ( | FD_t | fd | ) |
fileno(3) clone.
| ssize_t Fread | ( | void * | buf, | |
| size_t | size, | |||
| size_t | nmemb, | |||
| FD_t | fd | |||
| ) |
fread(3) clone.
| int Fseek | ( | FD_t | fd, | |
| _libio_off_t | offset, | |||
| int | whence | |||
| ) |
fseek(3) clone.
| ssize_t Fwrite | ( | const void * | buf, | |
| size_t | size, | |||
| size_t | nmemb, | |||
| FD_t | fd | |||
| ) |
fwrite(3) clone.
| ssize_t timedRead | ( | FD_t | fd, | |
| void * | bufptr, | |||
| size_t | length | |||
| ) |
XXX the name is misleading, this is a legacy wrapper that ensures only S_ISREG() files are read, nothing to do with timed.
.. TODO: get this out of the API
1.5.7.1