libexec exec fix
[minix.git] / servers / ipc / inc.h
blob5163a318ce523711e9986ea30d55ff9f97efe157
1 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
2 #define _MINIX 1 /* tell headers to include MINIX stuff */
3 #define _SYSTEM 1 /* get OK and negative error codes */
5 #include <minix/callnr.h>
6 #include <minix/com.h>
7 #include <minix/config.h>
8 #include <minix/ipc.h>
9 #include <minix/endpoint.h>
10 #include <minix/sysutil.h>
11 #include <minix/const.h>
12 #include <minix/type.h>
13 #include <minix/syslib.h>
15 #include <sys/types.h>
16 #include <sys/ipc.h>
17 #include <sys/shm.h>
18 #include <sys/sem.h>
19 #include <sys/mman.h>
20 #include <machine/vm.h>
21 #include <sys/vm.h>
23 #include <time.h>
24 #include <stdio.h>
25 #include <string.h>
26 #include <stdlib.h>
27 #include <unistd.h>
28 #include <errno.h>
29 #include <signal.h>
31 int do_shmget(message *);
32 int do_shmat(message *);
33 int do_shmdt(message *);
34 int do_shmctl(message *);
35 int check_perm(struct ipc_perm *, endpoint_t, int);
36 void update_refcount_and_destroy(void);
37 int do_semget(message *);
38 int do_semctl(message *);
39 int do_semop(message *);
40 int is_sem_nil(void);
41 int is_shm_nil(void);
42 void sem_process_vm_notify(void);
44 EXTERN int identifier;
45 EXTERN endpoint_t who_e;
46 EXTERN int call_type;
47 EXTERN endpoint_t SELF_E;