![]() |
![]()
| ![]() |
![]()
LIBRARY#include <xtend/file.h> -lxtend SYNOPSISFILE *xt_fopen(const char *filename, const char *mode) ARGUMENTSfilename: Name of the file to be opened mode: "r" or "w", passed to fopen() or popen() DESCRIPTIONOpen a raw data file using fopen() or a gzipped, bzipped, or xzipped file using popen(). Must be used in conjunction with xt_fclose() to ensure that fclose() or pclose() is called where appropriate.RETURN VALUESA pointer to the FILE structure or NULL if open failedSEE ALSOfopen(3), popen(3), gzip(1), bzip2(1), xz(1)
|