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

Inheritance diagram for Ux::SysVSem:

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

Detailed Description

Definition at line 79 of file uxsysvipc.hpp.

Public Member Functions

void get (key_t key, int nsems, int flags=IPC_CREAT|PERM_FILE)
int ctl (int semnum, int cmd, union semun arg)
void op (struct sembuf *sops, size_t nsops)


Member Function Documentation

int SysVSem::ctl int  semnum,
int  cmd,
union semun  arg
 

Calls semctl.

Definition at line 124 of file uxsysvipc.cpp.

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

void SysVSem::get key_t  key,
int  nsems,
int  flags = IPC_CREAT | PERM_FILE
 

Calls semget.

Definition at line 115 of file uxsysvipc.cpp.

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

void SysVSem::op struct sembuf *  sops,
size_t  nsops
 

Calls semop.

Definition at line 136 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