 | | The sysinfo function copies information about the operating system, as requested by command, into buf. The count parameter specifies the length of buf; it should be at least 257 bytes in size. Upon successful completion, sysinfo returns the number of bytes in buf required to hold the return value and the terminating null character. If this value is less than or equal to count, the whole value was copied, otherwise, count-1 bytes plus a terminating null character were copied. If an error occurs, -1 is returned and the reason for failure is stored in errno. | |
|