Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
osver.h File Reference

"<SaS/Common/psver.h>" Definitions specific to various OS's and OS versions. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __EXTENSIONS__
 
#define _FILE_OFFSET_BITS   32
 large file compilation environment setup More...
 
#define _LARGEFILE_SOURCE   1
 
#define _POSIX_C_SOURCE   199506L
 
#define _POSIX_PTHREAD_SEMANTICS
 
#define AIX_OS   1024
 
#define BSD_OS   1025
 
#define CYGWIN_OS   1030
 
#define EXPORT_IN
 
#define EXPORT_OUT
 Return the OS VERISON: More...
 
#define HAS_IPV6
 
#define HPUX_OS   1026
 
#define IOS_OS   1028
 
#define IS_UNIX   OS
 
#define Linux_OS   1027
 
#define PAM_APPDATA_PTR_BUG
 The pam_start(3) man page says we can use 'appdata_ptr', however it it always is NULL in the 'conv' function - bug. More...
 
#define PROCESSOR_BITS   32
 
#define SUN_OS   1029
 
#define UNIX_OS   1032
 
#define WINDOWS_OS   1031
 
#define XPG4_2
 
#define XSH4_2
 

Functions

unsigned int getOsVersion ()
 
const char * getProductGuid ()
 
void setProductGuid (const char *)
 

Detailed Description

"<SaS/Common/psver.h>" Definitions specific to various OS's and OS versions.

Definition in file osver.h.

Macro Definition Documentation

◆ _FILE_OFFSET_BITS

#define _FILE_OFFSET_BITS   32

large file compilation environment setup

Definition at line 425 of file osver.h.

◆ EXPORT_OUT

#define EXPORT_OUT

Return the OS VERISON:

OS-VERSION Will Return as:


5.5 550 5.5.1 551 5.6 560 ... ...

Definition at line 492 of file osver.h.

◆ PAM_APPDATA_PTR_BUG

#define PAM_APPDATA_PTR_BUG

The pam_start(3) man page says we can use 'appdata_ptr', however it it always is NULL in the 'conv' function - bug.

Definition at line 419 of file osver.h.