Files
filament/third_party/civetweb/docs/api/mg_get_system_info.md
Philip Rideout 6d74d31ecd Add civetweb to third_party (MIT).
This is a dependency of our upcoming web-based material debugger. This
CL also includes `tnt/CMakeLists.txt`, which builds a static lib in a
minimal configuration that enables WebSocket support. The entire library
is built from only 4 files:

    ${PUBLIC_HDR_DIR}/CivetServer.h
    ${PUBLIC_HDR_DIR}/civetweb.h
    ${SRC_DIR}/civetweb.c
    ${SRC_DIR}/CivetServer.cpp
2019-08-21 17:45:37 -07:00

918 B

Civetweb API Reference

mg_get_system_info( buffer, buflen );

Parameters

Parameter Type Description
`buffer char * A string buffer to store the information
`buflen int Size of the string buffer (including space for a terminating 0)

Return Value

Type Description
int Available system information in bytes (excluding the terminating 0)

Description

The function mg_get_system_info() returns information collected for the system (operating system, compiler, version, ...). Currently this data is returned as string is in JSON format, but changes to the format are possible in future versions. The exact content of the JSON object may vary, depending on the operating system and server version. This string should be included for support requests.

See Also