csomh / source-git / rpm

Forked from source-git/rpm 4 years ago
Clone
2ff057
2ff057
<html xmlns="http://www.w3.org/1999/xhtml">
2ff057
<head>
2ff057
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2ff057
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2ff057
<meta name="generator" content="Doxygen 1.8.14"/>
2ff057
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2ff057
<title>rpm: rpmio.h File Reference</title>
2ff057
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2ff057
<script type="text/javascript" src="jquery.js"></script>
2ff057
<script type="text/javascript" src="dynsections.js"></script>
2ff057
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2ff057
</head>
2ff057
<body>
2ff057
2ff057
2ff057
2ff057
 
2ff057
 
2ff057
  
2ff057
   
rpm
2ff057
    4.14.2
2ff057
   
2ff057
  
2ff057
 
2ff057
 
2ff057
2ff057
2ff057
2ff057
2ff057
<script type="text/javascript" src="menudata.js"></script>
2ff057
<script type="text/javascript" src="menu.js"></script>
2ff057
<script type="text/javascript">
2ff057
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
2ff057
$(function() {
2ff057
  initMenu('',false,false,'search.php','Search');
2ff057
});
2ff057
/* @license-end */</script>
2ff057
2ff057
2ff057
  
    2ff057
  • rpmio
  • 2ff057
    2ff057
    2ff057
    2ff057
      
    2ff057
    Typedefs  
    2ff057
      
    2ff057
    rpmio.h File Reference
    2ff057
    2ff057
    2ff057
    2ff057

    RPM I/O API (Fd_t is RPM equivalent to libc's FILE)

    2ff057
    More...

    2ff057
    #include <sys/types.h>
    2ff057
    #include <sys/stat.h>
    2ff057
    #include <stdio.h>
    2ff057
    #include <stdlib.h>
    2ff057
    #include <unistd.h>
    2ff057
    #include <rpm/rpmtypes.h>
    2ff057
    #include <rpm/rpmsw.h>
    2ff057
    2ff057
    Include dependency graph for rpmio.h:
    2ff057
    2ff057
    2ff057
    2ff057
    2ff057

    Go to the source code of this file.

    2ff057
    2ff057

    2ff057
    Typedefs
    2ff057
    typedef const struct FDIO_s * FDIO_t
    2ff057
     
    2ff057
    2ff057

    2ff057
    Functions
    2ff057
    RPMIO Interface.
    2ff057
    const char * Fstrerror (FD_t fd)
    2ff057
     strerror(3) clone.  More...
    2ff057
     
    2ff057
    ssize_t Fread (void *buf, size_t size, size_t nmemb, FD_t fd)
    2ff057
     Like fread(3) but with read(3)-style return values.  More...
    2ff057
     
    2ff057
    ssize_t Fwrite (const void *buf, size_t size, size_t nmemb, FD_t fd)
    2ff057
     Like fwrite(3) but with write(3)-style return values.  More...
    2ff057
     
    2ff057
    int Fseek (FD_t fd, off_t offset, int whence)
    2ff057
     fseek(3) clone.  More...
    2ff057
     
    2ff057
    off_t Ftell (FD_t fd)
    2ff057
     ftell(3) clone.  More...
    2ff057
     
    2ff057
    int Fclose (FD_t fd)
    2ff057
     fclose(3) clone.  More...
    2ff057
     
    2ff057
    FD_t Fdopen (FD_t ofd, const char *fmode)
    2ff057
     
    2ff057
    FD_t Fopen (const char *path, const char *fmode)
    2ff057
     fopen(3) clone.  More...
    2ff057
     
    2ff057
    int Fflush (FD_t fd)
    2ff057
     fflush(3) clone.  More...
    2ff057
     
    2ff057
    int Ferror (FD_t fd)
    2ff057
     ferror(3) clone.  More...
    2ff057
     
    2ff057
    int Fileno (FD_t fd)
    2ff057
     fileno(3) clone.  More...
    2ff057
     
    2ff057
    int Fcntl (FD_t fd, int op, void *lip)
    2ff057
     fcntl(2) clone.  More...
    2ff057
     
    2ff057
    const char * Fdescr (FD_t fd)
    2ff057
     Get informative description (eg file name) from fd for diagnostic output.  More...
    2ff057
     
    2ff057
    2ff057

    2ff057
    RPMIO Utilities.
    2ff057
    enum  fdOpX_e { 
    2ff057
      FDSTAT_READ = 0, 
    2ff057
    FDSTAT_WRITE = 1, 
    2ff057
    FDSTAT_SEEK = 2, 
    2ff057
    FDSTAT_CLOSE = 3, 
    2ff057

    2ff057
      FDSTAT_DIGEST = 4, 
    2ff057
    FDSTAT_MAX = 5
    2ff057

    2ff057
     }
    2ff057
     Identify per-desciptor I/O operation statistics.  More...
    2ff057
     
    2ff057
    typedef enum fdOpX_e fdOpX
    2ff057
     Identify per-desciptor I/O operation statistics.  More...
    2ff057
     
    2ff057
    off_t fdSize (FD_t fd)
    2ff057
     
    2ff057
    FD_t fdDup (int fdno)
    2ff057
     
    2ff057
    FD_t fdLink (FD_t fd)
    2ff057
     
    2ff057
    FD_t fdFree (FD_t fd)
    2ff057
     
    2ff057
    off_t ufdCopy (FD_t sfd, FD_t tfd)
    2ff057
     
    2ff057
    rpmop fdOp (FD_t fd, fdOpX opx)
    2ff057
     
    2ff057
    2ff057

    Detailed Description

    2ff057

    RPM I/O API (Fd_t is RPM equivalent to libc's FILE)

    2ff057
    2ff057

    Definition in file rpmio.h.

    2ff057
    2ff057
    2ff057

    <address class="footer"><small>
    2ff057
    Generated by  
    2ff057
    doxygen
    2ff057
     1.8.14
    2ff057
    </small></address>
    2ff057
    </body>
    2ff057
    </html>