| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Returns the name of the operating system.
OS() --> cOsName
The function returns a character string holding the operating system name.
Os() is an informational function used to query the name of the operating system an xHarbour application is running on.
| See also: | Getenv(), HB_BuildDate(), HB_BuildInfo(), Os_IsWinXP(), Version() |
| Category: | Environment functions |
| Source: | rtl\version.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com