mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
31 lines
841 B
C
31 lines
841 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* ipc.h
|
|
* System V IPC Emulation
|
|
*
|
|
* Copyright (c) 1999, repas AEG Automation GmbH
|
|
*
|
|
*
|
|
* IDENTIFICATION
|
|
* $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/ipc.h,v 1.4 2001/10/25 05:49:40 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef _SYS_IPC_H
|
|
#define _SYS_IPC_H
|
|
|
|
/* Common IPC definitions. */
|
|
/* Mode bits. */
|
|
#define IPC_CREAT 0001000 /* create entry if key doesn't exist */
|
|
#define IPC_EXCL 0002000 /* fail if key exists */
|
|
#define IPC_NOWAIT 0004000 /* error if request must wait */
|
|
|
|
/* Keys. */
|
|
#define IPC_PRIVATE (key_t)0 /* private key */
|
|
|
|
/* Control Commands. */
|
|
#define IPC_RMID 0 /* remove identifier */
|
|
#define IPC_STAT 1 /* get shm status */
|
|
#endif /* _SYS_IPC_H */
|