MCPcopy Create free account
hub / github.com/cppla/ServerStatus / io_write_newline

Function io_write_newline

server/src/system.c:352–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352unsigned io_write_newline(IOHANDLE io)
353{
354#if defined(CONF_FAMILY_WINDOWS)
355 return fwrite("\r\n", 1, 2, (FILE*)io);
356#else
357 return fwrite("\n", 1, 1, (FILE*)io);
358#endif
359}
360
361int io_close(IOHANDLE io)
362{

Callers 2

logger_fileFunction · 0.85
mem_debug_dumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected