opnsense-src/lib/libc/sys/pdwait.c
Konstantin Belousov 6820fe965f lib/libsys, lib/libc: export pdwait
(cherry picked from commit 2d555ec85a716e016be587b2a1606ca69267f870)
2026-02-01 23:38:49 +02:00

20 lines
479 B
C

/*
* Copyright 2026 The FreeBSD Foundation.
*
* SPDX-License-Identifier: BSD-2-Clause
*
* This software was developed by Konstantin Belousov <kib@FreeBSD.org>
* under sponsorship from the FreeBSD Foundation.
*/
#include <sys/types.h>
#include <sys/procdesc.h>
#include "libc_private.h"
#pragma weak pdwait
int
pdwait(int fd, int *status, int options, struct __wrusage *ru,
struct __siginfo *infop)
{
return (INTERPOS_SYS(pdwait, fd, status, options, ru, infop));
}