mailing list of musl libc
 help / color / mirror / code / Atom feed
49668822a4eec4f47ce3b582f593286b572eed59 blob 298 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
#define _GNU_SOURCE
#include <sys/wait.h>
#include "syscall.h"
#include "wait4_waitid.h"

pid_t waitpid(pid_t pid, int *status, int options)
{
#ifdef SYS_wait4
	return syscall_cp(SYS_wait4, pid, status, options, 0);
#else
	return __syscall_ret(__wait4_waitid(pid, status, options, 0, 1));
#endif
}
debug log:

solving 49668822 ...
found 49668822 in https://inbox.vuxu.org/musl/20200903112309.102601-8-sorear@fastmail.com/
found 1b65bf05 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 1b65bf05123833c598d384c5407a72e0bf43c190	src/process/waitpid.c

applying [1/1] https://inbox.vuxu.org/musl/20200903112309.102601-8-sorear@fastmail.com/
diff --git a/src/process/waitpid.c b/src/process/waitpid.c
index 1b65bf05..49668822 100644

Checking patch src/process/waitpid.c...
Applied patch src/process/waitpid.c cleanly.

index at:
100644 49668822a4eec4f47ce3b582f593286b572eed59	src/process/waitpid.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).