2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Ux::System Class Reference
[C++ Wrapper for Standard UNIX Functions]

Inheritance diagram for Ux::System:

Ux::Base List of all members.

Detailed Description

Definition at line 30 of file uxsystem.hpp.

Public Member Functions

 System ()

Static Public Member Functions

size_t confstr (int name, char *buf, size_t len, long default_val=-1)
long sysconf (int name, long default_val=-1)
void uname (struct utsname *name)
group * getgrgid (gid_t gid)
void gethostname (char *name, size_t namelen)
long gethostid (void)
char * getlogin (void)
passwd * getpwuid (uid_t uid)


Constructor & Destructor Documentation

Ux::System::System  )  [inline]
 

Definition at line 34 of file uxsystem.hpp.


Member Function Documentation

size_t System::confstr int  name,
char *  buf,
size_t  len,
long  default_val = -1
[static]
 

Calls confstr.

Definition at line 25 of file uxsystem.cpp.

References errno.

struct group * System::getgrgid gid_t  gid  )  [static]
 

Calls getgrgid.

Definition at line 79 of file uxsystem.cpp.

References errno, and getgrgid().

long Ux::System::gethostid void   )  [inline, static]
 

Calls gethostid.

Definition at line 45 of file uxsystem.hpp.

References gethostid().

void System::gethostname char *  name,
size_t  namelen
[static]
 

Calls gethostname.

Definition at line 43 of file uxsystem.cpp.

References errno.

char * System::getlogin void   )  [static]
 

Calls getlogin.

Definition at line 91 of file uxsystem.cpp.

References errno.

struct passwd * System::getpwuid uid_t  uid  )  [static]
 

Calls getpwuid.

Definition at line 103 of file uxsystem.cpp.

References errno, and getpwuid().

long System::sysconf int  name,
long  default_val = -1
[static]
 

Calls sysconf.

Definition at line 52 of file uxsystem.cpp.

References errno.

void System::uname struct utsname *  name  )  [static]
 

Calls uname.

Definition at line 70 of file uxsystem.cpp.

References errno.


The documentation for this class was generated from the following files:
Generated on Fri Apr 23 10:57:18 2004 for AUP2 Example Source by doxygen 1.3.1