Print this page
XXXX update sendmail to 8.14.9
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/cmd/sendmail/include/sm/shm.h
+++ new/usr/src/cmd/sendmail/include/sm/shm.h
1 1 /*
2 - * Copyright (c) 2000-2003, 2005 Sendmail, Inc. and its suppliers.
2 + * Copyright (c) 2000-2003, 2005 Proofpoint, Inc. and its suppliers.
3 3 * All rights reserved.
4 4 *
5 5 * By using this file, you agree to the terms and conditions set
6 6 * forth in the LICENSE file which can be found at the top level of
7 7 * the sendmail distribution.
8 8 *
9 - * $Id: shm.h,v 1.11 2005/01/13 22:57:04 ca Exp $
9 + * $Id: shm.h,v 1.12 2013-11-22 20:51:31 ca Exp $
10 10 */
11 11
12 -#pragma ident "%Z%%M% %I% %E% SMI"
13 -
14 12 #ifndef SM_SHM_H
15 13 # define SM_SHM_H
16 14
17 15 # if SM_CONF_SHM
18 16 # include <sys/types.h>
19 17 # include <sys/ipc.h>
20 18 # include <sys/shm.h>
21 19
22 20 /* # include "def.h" */
23 21
24 22 /* key for shared memory */
25 23 # define SM_SHM_KEY ((key_t) 42)
26 24
27 25 /* return value for failed shmget() */
28 26 # define SM_SHM_NULL ((void *) -1)
29 27 # define SM_SHM_NO_ID (-2)
30 28
31 29 extern void *sm_shmstart __P((key_t, int , int , int *, bool));
32 30 extern int sm_shmstop __P((void *, int, bool));
33 31 extern int sm_shmsetowner __P((int, uid_t, gid_t, mode_t));
34 32
35 33
36 34 /* for those braindead systems... (e.g., SunOS 4) */
37 35 # ifndef SHM_R
38 36 # define SHM_R 0400
39 37 # endif /* SHM_R */
40 38 # ifndef SHM_W
41 39 # define SHM_W 0200
42 40 # endif /* SHM_W */
43 41
44 42 # endif /* SM_CONF_SHM */
45 43 #endif /* ! SM_SHM_H */
|
↓ open down ↓ |
22 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX