blob: cea8a023be4b14f7daaf23a504eaaa35774bbe1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
/* cygwin/sysproto.h
Copyright 2003 Red Hat, Inc.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
/* cygwin/sysproto.h header file for Cygwin. */
#ifndef _CYGWIN_SYSPROTO_H
#define _CYGWIN_SYSPROTO_H
#define _SYS_SYSPROTO_H_ /* Keep it, used by BSD files */
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h>
struct msgctl_args {
int msqid;
int cmd;
struct msqid_ds *buf;
};
struct msgget_args {
key_t key;
int msgflg;
};
struct msgrcv_args {
int msqid;
void *msgp;
size_t msgsz;
long msgtyp;
int msgflg;
};
struct msgsnd_args {
int msqid;
const void *msgp;
size_t msgsz;
int msgflg;
};
struct semctl_args {
int semid;
int semnum;
int cmd;
union semun *arg;
};
struct semget_args {
key_t key;
int nsems;
int semflg;
};
struct semop_args {
int semid;
struct sembuf *sops;
size_t nsops;
};
struct shmat_args {
int shmid;
const void *shmaddr;
int shmflg;
};
struct shmctl_args {
int shmid;
int cmd;
struct shmid_ds *buf;
};
struct shmdt_args {
const void *shmaddr;
};
struct shmget_args {
key_t key;
size_t size;
int shmflg;
};
#ifdef __cplusplus
}
#endif
#endif /* _CYGWIN_SYSPROTO_H */
|