Back to index

glibc  2.9
Defines | Typedefs | Functions
msg.h File Reference
#include <features.h>
#include <stddef.h>
#include <sys/ipc.h>
#include <bits/msq.h>
#include <time.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __need_size_t
#define __need_time_t
#define __pid_t_defined
#define __ssize_t_defined

Typedefs

typedef __pid_t pid_t
typedef __ssize_t ssize_t

Functions

__BEGIN_DECLS int msgctl (int __msqid, int __cmd, struct msqid_ds *__buf) __THROW
int msgget (key_t __key, int __msgflg) __THROW
ssize_t msgrcv (int __msqid, void *__msgp, size_t __msgsz, long int __msgtyp, int __msgflg)
int msgsnd (int __msqid, __const void *__msgp, size_t __msgsz, int __msgflg)

Define Documentation

#define __need_size_t

Definition at line 25 of file msg.h.

#define __need_time_t

Definition at line 35 of file msg.h.

#define __pid_t_defined

Definition at line 40 of file msg.h.

Definition at line 45 of file msg.h.


Typedef Documentation

typedef __pid_t pid_t

Definition at line 39 of file msg.h.

typedef __ssize_t ssize_t

Definition at line 44 of file msg.h.


Function Documentation

__BEGIN_DECLS int msgctl ( int  __msqid,
int  __cmd,
struct msqid_ds __buf 
)

Definition at line 32 of file msgctl.c.

{
  return INLINE_SYSCALL (ipc, 5, IPCOP_msgctl, msqid, cmd, 0, CHECK_1 (buf));
}

Here is the caller graph for this function:

int msgget ( key_t  __key,
int  __msgflg 
)

Definition at line 32 of file msgget.c.

{
  return INLINE_SYSCALL (ipc, 5, IPCOP_msgget, key, msgflg, 0, NULL);
}

Here is the caller graph for this function:

ssize_t msgrcv ( int  __msqid,
void *  __msgp,
size_t  __msgsz,
long int  __msgtyp,
int  __msgflg 
)
int msgsnd ( int  __msqid,
__const void *  __msgp,
size_t  __msgsz,
int  __msgflg 
)