diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-12-16 01:25:23 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-12-16 01:25:23 +0000 |
commit | 7585deb0878bca96eee9a3e00fb5726c7725831c (patch) | |
tree | abbc9add268b6fbc32af0871f8d14f804681747b /src/backend/port/qnx/ipc.h | |
parent | 9805abb0fb1d2d57834a233d1a34279757d3f068 (diff) | |
download | postgresql-7585deb0878bca96eee9a3e00fb5726c7725831c.tar.gz postgresql-7585deb0878bca96eee9a3e00fb5726c7725831c.zip |
I have done the QNX4 port with the current source tree. The number of
backend/Makefiles to be patched could significantly be reduced since
they
have been adopted to the QNX4 needs.
Andreas Kardos
Diffstat (limited to 'src/backend/port/qnx/ipc.h')
-rw-r--r-- | src/backend/port/qnx/ipc.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/backend/port/qnx/ipc.h b/src/backend/port/qnx/ipc.h new file mode 100644 index 00000000000..6bce68a0edd --- /dev/null +++ b/src/backend/port/qnx/ipc.h @@ -0,0 +1,30 @@ +/*------------------------------------------------------------------------- + * + * ipc.h + * System V IPC Emulation + * + * Copyright (c) 1999, repas AEG Automation GmbH + * + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/backend/port/qnx/Attic/ipc.h,v 1.1 1999/12/16 01:25:06 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 */ + +#endif /* _SYS_IPC_H */ |