MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / gzputs

Function gzputs

zlib/gzio.c:698–703  ·  view source on GitHub ↗

=========================================================================== Writes the given null-terminated string to the compressed file, excluding the terminating null character. gzputs returns the number of characters written, or -1 in case of error. */

(file, s)

Source from the content-addressed store, hash-verified

696 gzputs returns the number of characters written, or -1 in case of error.
697*/
698int ZEXPORT gzputs(file, s)
699 gzFile file;
700 const char *s;
701{
702 return gzwrite(file, (char*)s, (unsigned)strlen(s));
703}
704
705
706/* ===========================================================================

Callers

nothing calls this directly

Calls 1

gzwriteFunction · 0.85

Tested by

no test coverage detected