The RPM IO API (Fd_t is RPM equivalent to libc's FILE).  
More...
|  | 
| file | rpmio.h | 
|  | RPM I/O API (Fd_t is RPM equivalent to libc's FILE) 
 | 
|  | 
| file | rpmurl.h | 
|  | A couple utils for URL Manipulation. 
 | 
|  | 
| file | rpmmacro.h | 
|  | Macro API. 
 | 
|  | 
| file | rpmlog.h | 
|  | Yet Another syslog(3) API clone. 
 | 
|  | 
| file | rpmsq.h | 
|  | Signal Queue API. 
 | 
|  | 
| file | rpmsw.h | 
|  | Statistics API. 
 | 
|  | 
| file | rpmfileutil.h | 
|  | File and path manipulation helper functions. 
 | 
|  | 
| file | rpmbase64.h | 
|  | Base64 encoding and decoding API. 
 | 
|  | 
|  | 
| typedef const struct FDIO_s * | FDIO_t | 
|  | 
|  | 
| const char * | Fstrerror (FD_t fd) | 
|  | strerror(3) clone.  More... 
 | 
|  | 
| ssize_t | Fread (void *buf, size_t size, size_t nmemb, FD_t fd) | 
|  | Like fread(3) but with read(3)-style return values.  More... 
 | 
|  | 
| ssize_t | Fwrite (const void *buf, size_t size, size_t nmemb, FD_t fd) | 
|  | Like fwrite(3) but with write(3)-style return values.  More... 
 | 
|  | 
| int | Fseek (FD_t fd, off_t offset, int whence) | 
|  | fseek(3) clone.  More... 
 | 
|  | 
| off_t | Ftell (FD_t fd) | 
|  | ftell(3) clone.  More... 
 | 
|  | 
| int | Fclose (FD_t fd) | 
|  | fclose(3) clone.  More... 
 | 
|  | 
| FD_t | Fdopen (FD_t ofd, const char *fmode) | 
|  | 
| FD_t | Fopen (const char *path, const char *fmode) | 
|  | fopen(3) clone.  More... 
 | 
|  | 
| int | Fflush (FD_t fd) | 
|  | fflush(3) clone.  More... 
 | 
|  | 
| int | Ferror (FD_t fd) | 
|  | ferror(3) clone.  More... 
 | 
|  | 
| int | Fileno (FD_t fd) | 
|  | fileno(3) clone.  More... 
 | 
|  | 
| int | Fcntl (FD_t fd, int op, void *lip) | 
|  | fcntl(2) clone.  More... 
 | 
|  | 
| const char * | Fdescr (FD_t fd) | 
|  | Get informative description (eg file name) from fd for diagnostic output.  More... 
 | 
|  | 
The RPM IO API (Fd_t is RPM equivalent to libc's FILE). 
◆ FDIO_t
      
        
          | typedef const struct FDIO_s* FDIO_t | 
      
 
 
◆ fdOpX
Identify per-desciptor I/O operation statistics. 
 
 
◆ fdOpX_e
Identify per-desciptor I/O operation statistics. 
| Enumerator | 
|---|
| FDSTAT_READ | Read statistics index.  | 
| FDSTAT_WRITE | Write statistics index.  | 
| FDSTAT_SEEK | Seek statistics index.  | 
| FDSTAT_CLOSE | Close statistics index  | 
| FDSTAT_DIGEST | Digest statistics index.  | 
| FDSTAT_MAX |  | 
Definition at line 125 of file rpmio.h.
 
 
◆ Fclose()
◆ Fcntl()
      
        
          | int Fcntl | ( | FD_t | fd, | 
        
          |  |  | int | op, | 
        
          |  |  | void * | lip | 
        
          |  | ) |  |  | 
      
 
 
◆ fdDup()
◆ Fdescr()
      
        
          | const char* Fdescr | ( | FD_t | fd | ) |  | 
      
 
Get informative description (eg file name) from fd for diagnostic output. 
 
 
◆ fdFree()
◆ fdLink()
◆ fdOp()
◆ Fdopen()
      
        
          | FD_t Fdopen | ( | FD_t | ofd, | 
        
          |  |  | const char * | fmode | 
        
          |  | ) |  |  | 
      
 
 
◆ fdSize()
◆ Ferror()
◆ Fflush()
◆ Fileno()
◆ Fopen()
      
        
          | FD_t Fopen | ( | const char * | path, | 
        
          |  |  | const char * | fmode | 
        
          |  | ) |  |  | 
      
 
 
◆ Fread()
      
        
          | ssize_t Fread | ( | void * | buf, | 
        
          |  |  | size_t | size, | 
        
          |  |  | size_t | nmemb, | 
        
          |  |  | FD_t | fd | 
        
          |  | ) |  |  | 
      
 
Like fread(3) but with read(3)-style return values. 
 
 
◆ Fseek()
      
        
          | int Fseek | ( | FD_t | fd, | 
        
          |  |  | off_t | offset, | 
        
          |  |  | int | whence | 
        
          |  | ) |  |  | 
      
 
 
◆ Fstrerror()
      
        
          | const char* Fstrerror | ( | FD_t | fd | ) |  | 
      
 
 
◆ Ftell()
◆ Fwrite()
      
        
          | ssize_t Fwrite | ( | const void * | buf, | 
        
          |  |  | size_t | size, | 
        
          |  |  | size_t | nmemb, | 
        
          |  |  | FD_t | fd | 
        
          |  | ) |  |  | 
      
 
Like fwrite(3) but with write(3)-style return values. 
 
 
◆ ufdCopy()