In the following article you can learn how to use the sysctl,
sysctlbyname and sysctlnametomib functions to get system information (kernel
values, hardware, networking, file system, machine specific and user related
data) under the OSX and iOS systems.
The sysctl allows you retrieves and set system information, the data
returned from the sysctl() function consists of integers (int32, int64),
strings(AnsiStrings) and structs (records). this function is defined in the
Posix.SysSysctl (SysSysctlAPI.inc) unit
Note : The Posix.SysSysctl unit is a partial translation the sysctl.h file.
Link URL*:
http://theroadtodelphi.wordpress.com/2013/05/31/getting-system-information-in-osx-and-ios-using-delphi-xe2-xe3-xe4-part-1/

Post a Comment