Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
xt_ff_open(3)		    Library Functions Manual		   xt_ff_open(3)

NAME
     xt_ff_open() - Open a fast file stream for a raw or compressed file

LIBRARY
     #include <xtend/fast-file.h>
     -lxtend

SYNOPSIS
     xt_ff_t *xt_ff_open(const char *filename, int flags)

ARGUMENTS
     filename:	 Name of the file to be opened
     mode:	 Bit mask as used by open(2)

DESCRIPTION
     xt_ff_open(3)  opens a raw data file using _xt_ff_raw_open(3) or a gzipped,
     bzipped, or xzipped file using xt_ff_popen(3), returning  a  pointer  to  a
     xt_ff_t stream.  Must be used in conjunction with xt_ff_close(3).

     The xt_ff_t system is simpler than and much faster than traditional FILE on
     typical  systems.	 It is intended for processing large files character-by-
     character, where low-level block I/O is not convenient, but FILE I/O causes
     a bottleneck.

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_ff_open(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_ff_open&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help