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

Inheritance diagram for Ux::SysVMsg:

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

Detailed Description

Definition at line 47 of file uxsysvipc.hpp.

Public Member Functions

void get (key_t key, int flags=IPC_CREAT|PERM_FILE)
void ctl (int cmd, struct msqid_ds *data=NULL)
void snd (const void *msgp, size_t msgsize, int flags=0)
ssize_t rcv (void *msgp, size_t mtextsize, long msgtype=0, int flags=0)


Member Function Documentation

void SysVMsg::ctl int  cmd,
struct msqid_ds *  data = NULL
 

Calls msgctl.

Definition at line 46 of file uxsysvipc.cpp.

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

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

Calls msgget.

Definition at line 37 of file uxsysvipc.cpp.

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

ssize_t SysVMsg::rcv void *  msgp,
size_t  mtextsize,
long  msgtype = 0,
int  flags = 0
 

Calls msgrcv.

Definition at line 64 of file uxsysvipc.cpp.

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

void SysVMsg::snd const void *  msgp,
size_t  msgsize,
int  flags = 0
 

Calls msgsnd.

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