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::SysVShm Class Reference
[C++ Wrapper for Standard UNIX Functions]

Inheritance diagram for Ux::SysVShm:

Ux::SysVIPC Ux::Base List of all members.

Detailed Description

Definition at line 58 of file uxsysvipc.hpp.

Public Member Functions

void get (key_t key, size_t size, int flags=IPC_CREAT|PERM_FILE)
void ctl (int cmd, struct shmid_ds *data=NULL)
void * at (const void *shmaddr=NULL, int flags=0)
void dt (const void *shmaddr)


Member Function Documentation

void * SysVShm::at const void *  shmaddr = NULL,
int  flags = 0
 

Calls shmat.

Definition at line 94 of file uxsysvipc.cpp.

References errno, and Ux::SysVIPC::id.

void SysVShm::ctl int  cmd,
struct shmid_ds *  data = NULL
 

Calls shmctl.

Definition at line 85 of file uxsysvipc.cpp.

References errno, and Ux::SysVIPC::id.

void SysVShm::dt const void *  shmaddr  ) 
 

Calls shmdt. Could be static, as it doesn't use the id.

Definition at line 106 of file uxsysvipc.cpp.

References errno.

void SysVShm::get key_t  key,
size_t  size,
int  flags = IPC_CREAT | PERM_FILE
 

Calls shmget.

Definition at line 76 of file uxsysvipc.cpp.

References errno, and Ux::SysVIPC::id.


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