Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 5e37bce

Browse files
Merge pull request #3115 from sakhmatd/wait-fbsd-2
Fix issue 20852: core.sys.posix.sys.wait missing definitions on FreeBSD
2 parents 35e6398 + 45be6fe commit 5e37bce

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/core/sys/posix/sys/wait.d

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,24 @@ else version (FreeBSD)
350350
enum WEXITED = 16;
351351
enum WTRAPPED = 32;
352352

353-
// Only these id types supported by waitid according to wait(2)
354353
enum idtype_t
355354
{
356355
P_UID,
357356
P_GID,
358357
P_SID,
359-
P_JAILID
358+
P_JAILID,
359+
P_PID,
360+
P_PPID,
361+
P_PGID,
362+
P_CID,
363+
P_ALL,
364+
P_LWPID,
365+
P_TASKID,
366+
P_PROJID,
367+
P_POOLID,
368+
P_CTID,
369+
P_CPUID,
370+
P_PSETID
360371
}
361372

362373
int waitid(idtype_t, id_t, siginfo_t*, int);

0 commit comments

Comments
 (0)