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

FreeBSD Manual Pages

  
 
  

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

NAME
       xt_ff_close() - Close a stream created by xt_ff_open()

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

SYNOPSIS
       int     xt_ff_close(xt_ff_t *stream)

ARGUMENTS
       stream: Pointer to the xt_ff_t structure	to be closed

DESCRIPTION
       xt_ff_close(3)  closes  a xt_ff_t stream	by calling _xt_ff_raw_close(3)
       or  _xt_ff_pclose(3)  as	 appropriate.	Automatically  determines  the
       proper  close  function	to  call  using	 S_ISFIFO() on the stream stat
       structure.

       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
       The value returned by _xt_ff_raw_close(3) or _xt_ff_pclose(3)

SEE ALSO
       xt_ff_popen(3), xt_ff_open(3), gzip(1), bzip2(1), xz(1)

								xt_ff_close(3)

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

home | help