003 File Manager
Current Path:
/usr/src/contrib/sendmail/include/sm
usr
/
src
/
contrib
/
sendmail
/
include
/
sm
/
📁
..
📄
assert.h
(2.88 KB)
📄
bdb.h
(1.29 KB)
📄
bitops.h
(1.78 KB)
📄
cdefs.h
(3.8 KB)
📄
cf.h
(533 B)
📄
clock.h
(2.16 KB)
📄
conf.h
(91.52 KB)
📄
config.h
(4.08 KB)
📄
debug.h
(3.06 KB)
📄
errstring.h
(3.27 KB)
📄
exc.h
(3.54 KB)
📄
fdset.h
(690 B)
📄
gen.h
(1.78 KB)
📄
heap.h
(3.19 KB)
📄
io.h
(11.73 KB)
📄
ldap.h
(3.44 KB)
📄
limits.h
(1.26 KB)
📄
mbdb.h
(1.05 KB)
📄
misc.h
(489 B)
📄
notify.h
(520 B)
📁
os
📄
path.h
(824 B)
📄
rpool.h
(4.07 KB)
📄
sem.h
(1.37 KB)
📄
sendmail.h
(662 B)
📄
setjmp.h
(1.33 KB)
📄
shm.h
(1 KB)
📄
signal.h
(2.01 KB)
📄
string.h
(2.65 KB)
📄
sysexits.h
(4.24 KB)
📄
tailq.h
(5.77 KB)
📄
test.h
(912 B)
📄
time.h
(1.32 KB)
📄
types.h
(1.62 KB)
📄
varargs.h
(1.29 KB)
📄
xtrap.h
(833 B)
Editing: sem.h
/* * Copyright (c) 2000-2001, 2005, 2008 Proofpoint, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * * $Id: sem.h,v 1.11 2013-11-22 20:51:31 ca Exp $ */ #ifndef SM_SEM_H # define SM_SEM_H 1 #include <sm/gen.h> /* key for semaphores */ # define SM_SEM_KEY (41L) # define SM_SEM_NO_ID (-1) # define SM_NO_SEM(id) ((id) < 0) # if SM_CONF_SEM > 0 # include <sys/types.h> # include <sys/ipc.h> # include <sys/sem.h> # if SM_CONF_SEM == 2 union semun { int val; struct semid_ds *buf; ushort *array; }; # endif /* SM_CONF_SEM == 2 */ # ifndef SEM_A # define SEM_A 0200 # endif # ifndef SEM_R # define SEM_R 0400 # endif # define SM_NSEM 1 extern int sm_sem_start __P((key_t, int, int, bool)); extern int sm_sem_stop __P((int)); extern int sm_sem_acq __P((int, int, int)); extern int sm_sem_rel __P((int, int, int)); extern int sm_sem_get __P((int, int)); extern int sm_semsetowner __P((int, uid_t, gid_t, mode_t)); # else /* SM_CONF_SEM > 0 */ # define sm_sem_start(key, nsem, semflg, owner) 0 # define sm_sem_stop(semid) 0 # define sm_sem_acq(semid, semnum, timeout) 0 # define sm_sem_rel(semid, semnum, timeout) 0 # define sm_sem_get(semid, semnum) 0 # endif /* SM_CONF_SEM > 0 */ #endif /* ! SM_SEM_H */
Upload File
Create Folder