MCPcopy Index your code
hub / github.com/MapServer/MapServer / msIO_needBinaryStdout

Function msIO_needBinaryStdout

mapio.c:718–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716/************************************************************************/
717
718int msIO_needBinaryStdout()
719
720{
721#if defined(_WIN32) && !defined(USE_FASTCGI)
722 if(_setmode( _fileno(stdout), _O_BINARY) == -1)
723 {
724 msSetError(MS_IOERR,
725 "Unable to change stdout to binary mode.",
726 "msIO_needBinaryStdout()" );
727 return(MS_FAILURE);
728 }
729#endif
730
731 return MS_SUCCESS;
732}
733
734/************************************************************************/
735/* msIO_needBinaryStdin() */

Callers 10

msSaveImageGDALFunction · 0.85
msWCSWriteDocument20Function · 0.85
msWCSWriteFile20Function · 0.85
msSaveImageFunction · 0.85
msWFSGetCapabilities11Function · 0.85
saveImageMethod · 0.85
msWCSGetCapabilities11Function · 0.85
msWCSDescribeCoverage11Function · 0.85
msWCSReturnCoverage11Function · 0.85
msSOSGetCapabilitiesFunction · 0.85

Calls 1

msSetErrorFunction · 0.85

Tested by

no test coverage detected