Browse Source

* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system

utilities, to make it consistent with declaration of struct seminfo.
unlabeled-1.22.4
Corinna Vinschen 22 years ago
parent
commit
35fe2c0811
  1. 5
      winsup/cygwin/ChangeLog
  2. 2
      winsup/cygwin/include/cygwin/ipc.h

5
winsup/cygwin/ChangeLog

@ -1,3 +1,8 @@
2004-06-08 Egor Duda <deo@corpit.ru>
* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.
2004-06-08 Pierre Humblet <pierre.humblet@ieee.org>
* path.cc (fchdir): Pass the Posix path to chdir.

2
winsup/cygwin/include/cygwin/ipc.h

@ -48,7 +48,9 @@ struct ipc_perm
#define IPC_RMID 0x1000 /* Remove identifier. */
#define IPC_SET 0x1001 /* Set options. */
#define IPC_STAT 0x1002 /* Get options. */
#ifdef _KERNEL
#define IPC_INFO 0x1003 /* For ipcs(8). */
#endif
#ifdef _KERNEL
#define IPCID_TO_IX(id) ((id) & 0xffff)

Loading…
Cancel
Save