bl_sam_fclose(3)

NAME
bl_sam_fclose() - Close a stream opened by bl_sam_fopen(3)

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

SYNOPSIS
int     bl_sam_fclose(FILE *stream)

ARGUMENTS
stream: The FILE structure to be closed

DESCRIPTION
Close a FILE stream with fclose() or pclose() as appropriate. Automatically determines the proper close function to call using S_ISFIFO on the stream stat structure.

RETURN VALUES
The value returned by fclose() or pclose()

SEE ALSO
fopen(3), popen(3), gzip(1), bzip2(1), xz(1)