FreeBSD Manual Pages
xt_fopen(3) Library Functions Manual xt_fopen(3) NAME xt_fopen() - Open a raw or compressed file LIBRARY #include <xtend/file.h> -lxtend SYNOPSIS FILE *xt_fopen(const char *filename, const char *mode) ARGUMENTS filename: Name of the file to be opened mode: "r" or "w", passed to fopen() or popen() DESCRIPTION Open a raw data file using fopen() or a compressed file using popen(). Must be used in conjunction with xt_fclose() to ensure that fclose() or pclose() is called where appropriate. RETURN VALUES A pointer to the FILE structure or NULL if open failed SEE ALSO fopen(3), popen(3), gzip(1), bzip2(1), xz(1) xt_fopen(3)
NAME | LIBRARY | SYNOPSIS | ARGUMENTS | DESCRIPTION | RETURN VALUES | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_fopen&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>
