![]() |
ticable_detect_os | Function |
cabl_int.h |
int ticable_detect_os (char **os_type); |
Parameters
os_type |
the OS type is placed in this string. |
Returns |
0 if successfully probed, -1 otherwise. |
Summary
Get the OS on which the library is running.
Description
This function returns in os_type the Operating System type and display some miscelaneous informations in the console (via DISPLAY). OS types are: - "Linux", - "Mac OS X", - "Windows9x" : non-NT based system (95/98/Me), - "WindowsNT" : NT based system (NT4/2000/XP), - "unknown": others.