Rudiments
|
00001 // Copyright (c) 2004 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_SYSTEM_H 00005 #define RUDIMENTS_SYSTEM_H 00006 00007 #include <rudiments/private/system.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 // @cond 00014 00015 class systemprivate; 00016 00017 // wrap: 00018 // sys/utsname.h - uname() 00019 // stdlib.h - getloadavg() 00020 // unistd.h - sysconf() 00021 // confstr() - use sysctl() on bsd 00022 // gethostid(),sethostid() - use sysctl() on bsd 00023 // getpagesize() - use sysconf() on bsd 00024 // sync() 00025 // sys/raw.h - structs/defines for /dev/rawctl ioctl()'s 00026 // sys/syslog.h - openlog(),closelog(),setlogmask(),syslog(),vsyslog() 00027 // not in solaris - 00028 // sys/sysctl.h - sysctl() 00029 // linux only - 00030 // sys/kdaemon.h - bdflush() 00031 // sys/klog.h - klogctl() 00032 // sys/personality.h - personality() - set linux kernel personality 00033 // sys/reboot.h - reboot() 00034 // sys/swap.h - swapon()/swapoff() 00035 // sys/sysinfo.h - functions for gettting overall system statistics 00036 // sysinfo(), 00037 // get_nprocs_conf(),get_nprocs(), 00038 // get_phys_pages,get_avphys_pages() 00039 class RUDIMENTS_DLLSPEC system { 00040 public: 00041 00042 #include <rudiments/private/system.h> 00043 }; 00044 00045 // @endcond 00046 00047 #ifdef RUDIMENTS_NAMESPACE 00048 } 00049 #endif 00050 00051 #endif