xref: /freebsd/lib/libc/sys/pdwait.c (revision 9c151e1fbf1a71a4912afa9693a39d55a00db4eb)
1 /*
2  * Copyright 2026 The FreeBSD Foundation.
3  *
4  * SPDX-License-Identifier: BSD-2-Clause
5  *
6  * This software was developed by Konstantin Belousov <kib@FreeBSD.org>
7  * under sponsorship from the FreeBSD Foundation.
8  */
9 
10 #include <sys/types.h>
11 #include <sys/procdesc.h>
12 #include "libc_private.h"
13 
14 #pragma weak pdwait
15 int
16 pdwait(int fd, int *status, int options, struct __wrusage *ru,
17     struct __siginfo *infop)
18 {
19 	return (INTERPOS_SYS(pdwait, fd, status, options, ru, infop));
20 }
21