Civetweb API Reference

mg_get_system_info( buffer, buflen );

Parameters

ParameterTypeDescription
`bufferchar *A string buffer to store the information
`buflenintSize of the string buffer (including space for a terminating 0)

Return Value

TypeDescription
intAvailable 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