|Linux Standard Base Core Specification 4.0|
|<<< Previous||Next >>>|
The gzputs() function shall write the null terminated string s to the compressed file referenced by file, which shall have been opened in a write mode (see gzopen() and gzdopen()). The terminating null character shall not be written. The gzputs() function shall return the number of uncompressed bytes actually written.
On success, gzputs() shall return the number of uncompressed
bytes actually written to file.
On error gzputs() shall return a value
less than or equal to
Applications may examine the cause using gzerror().
On error, gzputs() shall set
the error number associated with the stream identified by
to indicate the error. Applications should use gzerror()
to access this error value.
If file is
gzputs() shall return
An underlying base library function has indicated an error.
The global variable
The stream is invalid, is not open for writing, or is in an invalid state.
no compression progress is possible (see deflate()).
Insufficient memory available to compress.
|<<< Previous||Home||Next >>>|