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

Function msIO_needBinaryStdin

mapio.c:746–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744/************************************************************************/
745
746int msIO_needBinaryStdin()
747
748{
749#if defined(_WIN32) && !defined(USE_FASTCGI)
750 if(_setmode( _fileno(stdin), _O_BINARY) == -1)
751 {
752 msSetError(MS_IOERR,
753 "Unable to change stdin to binary mode.",
754 "msIO_needBinaryStdin()" );
755 return(MS_FAILURE);
756 }
757#endif
758
759 return MS_SUCCESS;
760}
761
762/* ==================================================================== */
763/* memory buffer io handling functions. */

Callers 1

readPostBodyFunction · 0.85

Calls 1

msSetErrorFunction · 0.85

Tested by

no test coverage detected