Rudiments
system.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_SYSTEM_H
5 #define RUDIMENTS_SYSTEM_H
6 
7 #include <rudiments/private/system.h>
8 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 // @cond
14 
15 class systemprivate;
16 
17 // wrap:
18 // sys/utsname.h - uname()
19 // stdlib.h - getloadavg()
20 // unistd.h - sysconf()
21 // confstr() - use sysctl() on bsd
22 // gethostid(),sethostid() - use sysctl() on bsd
23 // getpagesize() - use sysconf() on bsd
24 // sync()
25 // sys/raw.h - structs/defines for /dev/rawctl ioctl()'s
26 // sys/syslog.h - openlog(),closelog(),setlogmask(),syslog(),vsyslog()
27 // not in solaris -
28 // sys/sysctl.h - sysctl()
29 // linux only -
30 // sys/kdaemon.h - bdflush()
31 // sys/klog.h - klogctl()
32 // sys/personality.h - personality() - set linux kernel personality
33 // sys/reboot.h - reboot()
34 // sys/swap.h - swapon()/swapoff()
35 // sys/sysinfo.h - functions for gettting overall system statistics
36 // sysinfo(),
37 // get_nprocs_conf(),get_nprocs(),
38 // get_phys_pages,get_avphys_pages()
39 class RUDIMENTS_DLLSPEC system {
40  public:
41 
42  #include <rudiments/private/system.h>
43 };
44 
45 // @endcond
46 
47 #ifdef RUDIMENTS_NAMESPACE
48 }
49 #endif
50 
51 #endif