Skip to content

Commit 5a04b8b

Browse files
authored
Remove reserved POSIX macros and add missing function documentation in unistd.yaml
1 parent 871bf6e commit 5a04b8b

File tree

1 file changed

+10
-47
lines changed

1 file changed

+10
-47
lines changed

libc/utils/docgen/unistd.yaml

Lines changed: 10 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,6 @@ macros:
159159
_POSIX2_SYMLINKS:
160160
in-latest-posix: ""
161161

162-
"NULL":
163-
in-latest-posix: ""
164-
O_CLOEXEC:
165-
in-latest-posix: ""
166-
O_CLOFORK:
167-
in-latest-posix: ""
168162
F_OK:
169163
in-latest-posix: ""
170164
R_OK:
@@ -209,49 +203,10 @@ macros:
209203
_CS_V8_ENV:
210204
in-latest-posix: ""
211205

212-
_CS_POSIX_V7_ILP32_OFF32_CFLAGS:
213-
in-latest-posix: ""
214-
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS:
215-
in-latest-posix: ""
216-
_CS_POSIX_V7_ILP32_OFF32_LIBS:
217-
in-latest-posix: ""
218-
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS:
219-
in-latest-posix: ""
220-
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS:
221-
in-latest-posix: ""
222-
_CS_POSIX_V7_ILP32_OFFBIG_LIBS:
223-
in-latest-posix: ""
224-
_CS_POSIX_V7_LP64_OFF64_CFLAGS:
225-
in-latest-posix: ""
226-
_CS_POSIX_V7_LP64_OFF64_LDFLAGS:
227-
in-latest-posix: ""
228-
_CS_POSIX_V7_LP64_OFF64_LIBS:
229-
in-latest-posix: ""
230-
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS:
231-
in-latest-posix: ""
232-
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS:
233-
in-latest-posix: ""
234-
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS:
235-
in-latest-posix: ""
236-
_CS_POSIX_V7_THREADS_CFLAGS:
237-
in-latest-posix: ""
238-
_CS_POSIX_V7_THREADS_LDFLAGS:
239-
in-latest-posix: ""
240-
_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS:
241-
in-latest-posix: ""
242-
_CS_V7_ENV:
243-
in-latest-posix: ""
244-
245-
SEEK_CUR:
246-
in-latest-posix: ""
247206
SEEK_END:
248207
in-latest-posix: ""
249208
SEEK_SET:
250209
in-latest-posix: ""
251-
SEEK_HOLE:
252-
in-latest-posix: ""
253-
SEEK_DATA:
254-
in-latest-posix: ""
255210

256211
F_LOCK:
257212
in-latest-posix: ""
@@ -584,19 +539,26 @@ functions:
584539
in-latest-posix: ""
585540
execvp:
586541
in-latest-posix: ""
542+
faccessat:
543+
in-latest-posix: ""
587544
fchdir:
588545
in-latest-posix: ""
589546
fchown:
590547
in-latest-posix: ""
548+
fchownat:
549+
in-latest-posix: ""
591550
fdatasync:
592551
in-latest-posix: ""
552+
fexecve:
553+
in-latest-posix: ""
554+
_Fork:
555+
in-latest-posix: ""
593556
fork:
594557
in-latest-posix: ""
595558
fpathconf:
596559
in-latest-posix: ""
597560
fsync:
598561
in-latest-posix: ""
599-
600562
ftruncate:
601563
in-latest-posix: ""
602564
getcwd:
@@ -645,7 +607,6 @@ functions:
645607
in-latest-posix: ""
646608
linkat:
647609
in-latest-posix: ""
648-
649610
lockf:
650611
in-latest-posix: ""
651612
lseek:
@@ -712,6 +673,8 @@ functions:
712673
in-latest-posix: ""
713674
truncate:
714675
in-latest-posix: ""
676+
ttyname:
677+
in-latest-posix: ""
715678
ttyname_r:
716679
in-latest-posix: ""
717680
unlink:

0 commit comments

Comments
 (0)