1 | sys/ipc.h is fine.
|
---|
2 |
|
---|
3 | --------------------------------------------
|
---|
4 |
|
---|
5 | mman.h doesn't declare the following optional functions:
|
---|
6 |
|
---|
7 | int mlock(const void *, size_t);
|
---|
8 | int mlockall(int);
|
---|
9 | int munlock(const void *, size_t);
|
---|
10 | int munlockall(void);
|
---|
11 | int posix_mem_offset(const void *restrict, size_t, off_t *restrict, size_t *restrict, int *restrict);
|
---|
12 | int posix_typed_mem_get_info(int, struct posix_typed_mem_info *);
|
---|
13 | int posix_typed_mem_open(const char *, int, int);
|
---|
14 |
|
---|
15 | and doesn't define the following symbolic constants:
|
---|
16 |
|
---|
17 | flags for mlockall()
|
---|
18 | MCL_CURRENT
|
---|
19 | MCL_FUTURE
|
---|
20 |
|
---|
21 | flags for posix_typed_mem_open()
|
---|
22 | POSIX_TYPED_MEM_ALLOCATE
|
---|
23 | POSIX_TYPED_MEM_ALLOCATE_CONTIG
|
---|
24 | POSIX_TYPED_MEM_MAP_ALLOCATABLE
|
---|
25 |
|
---|
26 | --------------------------------------------
|
---|
27 |
|
---|
28 | sys/msg.h is fine.
|
---|
29 |
|
---|
30 | --------------------------------------------
|
---|
31 |
|
---|
32 | resource.h doesn't declare the following mandatory functions (as noted in the header):
|
---|
33 |
|
---|
34 | int setpriority(int, id_t, int);
|
---|
35 | int getpriority(int, id_t);
|
---|
36 |
|
---|
37 | The symbolic constants for these, however, are defined.
|
---|
38 |
|
---|
39 | --------------------------------------------
|
---|
40 |
|
---|
41 | sys/select.h is fine.
|
---|
42 |
|
---|
43 | --------------------------------------------
|
---|
44 |
|
---|
45 | sys/sem.h is fine.
|
---|
46 |
|
---|
47 | --------------------------------------------
|
---|
48 |
|
---|
49 | sys/shm.h is missing altogether.
|
---|
50 |
|
---|
51 | --------------------------------------------
|
---|
52 |
|
---|
53 | sys/socket.h
|
---|
54 |
|
---|
55 | sa_family_t type-def is missing.
|
---|
56 |
|
---|
57 | sa_family member of sockaddr struct should be of type sa_family_t.
|
---|
58 | ss_family member of sockaddr_storage struct should be of type sa_family_t.
|
---|
59 |
|
---|
60 | --------------------------------------------
|
---|
61 |
|
---|
62 | sys/stat.h doesn't declare the following functions:
|
---|
63 |
|
---|
64 | int mknod(const char *, mode_t, dev_t);
|
---|
65 | int mknodat(int, const char *, mode_t, dev_t);
|
---|
66 |
|
---|
67 | both of which are marked as "XSI" in the standard.
|
---|
68 |
|
---|
69 | --------------------------------------------
|
---|
70 |
|
---|
71 | sys/statvfs.h is fine.
|
---|
72 |
|
---|
73 | --------------------------------------------
|
---|
74 |
|
---|
75 | sys/time.h is fine.
|
---|
76 |
|
---|
77 | --------------------------------------------
|
---|
78 |
|
---|
79 | sys/times.h is fine.
|
---|
80 |
|
---|
81 | --------------------------------------------
|
---|
82 |
|
---|
83 | sys/types.h is fine.
|
---|
84 |
|
---|
85 | --------------------------------------------
|
---|
86 |
|
---|
87 | sys/uio.h is fine.
|
---|
88 |
|
---|
89 | --------------------------------------------
|
---|
90 |
|
---|
91 | sys/un.h
|
---|
92 |
|
---|
93 | sun_family member of sockaddr_un struct should be of type sa_family_t
|
---|
94 | (see note of type-def ommision in sys/socket.h above).
|
---|
95 |
|
---|
96 | --------------------------------------------
|
---|
97 |
|
---|
98 | sys/utsname.h is fine.
|
---|
99 |
|
---|
100 | --------------------------------------------
|
---|
101 |
|
---|
102 | sys/wait.h doesn't declare (as noted in the header):
|
---|
103 |
|
---|
104 | int waitid(idtype_t, id_t, siginfo_t *, int);
|
---|
105 |
|
---|
106 | and doesn't define its idtype_t enum (it's there, but commented out).
|
---|