Lines Matching refs:file
35 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
37 # define SET_BINARY_MODE(file)
59 /* Opens a gzip (.gz) file for reading.
60 * open() can be used to read a file which is not in gzip format;
61 * in this case read() will directly read from the file without
76 /* Flushes all pending input if necessary, closes the compressed file
85 /* Binary read the given number of bytes from the compressed file.
92 * given compressed file. errnum is set to zlib error number. If an
93 * error occurred in the file system and not in the compression library,
108 * Binary read the given (array of) object(s) from the compressed file.
109 * If the input file was not in gzip format, read() copies the objects number
112 * (0 for end of file, -1 for error).
172 /* Opens a gzip (.gz) file for writing.
194 /* Flushes all pending output if necessary, closes the compressed file
206 /* Binary write the given number of bytes into the compressed file.
212 /* Flushes all pending output into the compressed file. The parameter
225 * given compressed file. errnum is set to zlib error number. If an
226 * error occurred in the file system and not in the compression library,
259 * Binary write the given (array of) object(s) into the compressed file.