Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sysproto.h « cygwin « include « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 838555002e8df7a050dce3cc573540226333ce52 (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, 2005, 2012, 2013 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 */