DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
sysvipcwrappers.cpp File Reference
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdarg.h>
#include "dmtcp.h"
#include "sysvipc.h"
#include "sysvipcwrappers.h"
#include "jassert.h"

Go to the source code of this file.

Macros

#define msgrcv   msgrcv_glibc
 

Functions

int shmget (key_t key, size_t size, int shmflg)
 
void * shmat (int shmid, const void *shmaddr, int shmflg)
 
int shmdt (const void *shmaddr)
 
int shmctl (int shmid, int cmd, struct shmid_ds *buf)
 
int semget (key_t key, int nsems, int semflg)
 
int semop (int semid, struct sembuf *sops, size_t nsops)
 
int semtimedop (int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout)
 
int semctl (int semid, int semnum, int cmd,...)
 
int msgget (key_t key, int msgflg)
 
int msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg)
 
ssize_t msgrcv (int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg)
 
int msgctl (int msqid, int cmd, struct msqid_ds *buf)
 

Macro Definition Documentation

#define msgrcv   msgrcv_glibc

Definition at line 24 of file sysvipcwrappers.cpp.

Function Documentation

int msgctl ( int  msqid,
int  cmd,
struct msqid_ds *  buf 
)

Definition at line 328 of file sysvipcwrappers.cpp.

int msgget ( key_t  key,
int  msgflg 
)

Definition at line 243 of file sysvipcwrappers.cpp.

ssize_t msgrcv ( int  msqid,
void *  msgp,
size_t  msgsz,
long  msgtyp,
int  msgflg 
)

Definition at line 293 of file sysvipcwrappers.cpp.

int msgsnd ( int  msqid,
const void *  msgp,
size_t  msgsz,
int  msgflg 
)

Definition at line 259 of file sysvipcwrappers.cpp.

int semctl ( int  semid,
int  semnum,
int  cmd,
  ... 
)

Definition at line 218 of file sysvipcwrappers.cpp.

int semget ( key_t  key,
int  nsems,
int  semflg 
)

Definition at line 140 of file sysvipcwrappers.cpp.

int semop ( int  semid,
struct sembuf *  sops,
size_t  nsops 
)

Definition at line 156 of file sysvipcwrappers.cpp.

int semtimedop ( int  semid,
struct sembuf *  sops,
size_t  nsops,
const struct timespec *  timeout 
)

Definition at line 162 of file sysvipcwrappers.cpp.

void* shmat ( int  shmid,
const void *  shmaddr,
int  shmflg 
)

Definition at line 64 of file sysvipcwrappers.cpp.

int shmctl ( int  shmid,
int  cmd,
struct shmid_ds *  buf 
)

Definition at line 123 of file sysvipcwrappers.cpp.

int shmdt ( const void *  shmaddr)

Definition at line 110 of file sysvipcwrappers.cpp.

int shmget ( key_t  key,
size_t  size,
int  shmflg 
)

Definition at line 47 of file sysvipcwrappers.cpp.