Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 9d3d38c

Browse files
committed
Add _Fork() to POSIX header tests.
https://pubs.opengroup.org/onlinepubs/9799919799/functions/fork.html Change-Id: I98607284c6135642e8ab80e418cdb6058c12878f
1 parent 18c76a0 commit 9d3d38c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/headers/posix/unistd_h.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@ static void unistd_h() {
331331
FUNCTION(fdatasync, int (*f)(int));
332332
FUNCTION(fexecve, int (*f)(int, char* const[], char* const[]));
333333
FUNCTION(fork, pid_t (*f)(void));
334+
#if !defined(__GLIBC__) // Our glibc is too old.
335+
FUNCTION(_Fork, pid_t (*f)(void));
336+
#endif
334337
FUNCTION(fpathconf, long (*f)(int, int));
335338
FUNCTION(fsync, int (*f)(int));
336339
FUNCTION(ftruncate, int (*f)(int, off_t));

0 commit comments

Comments
 (0)