summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/sys/wait.h
blob: 2091fc3fa3bee41b1e500c947a75431d5686b721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <Kernel/API/POSIX/signal.h>
#include <Kernel/API/POSIX/sys/wait.h>

__BEGIN_DECLS

pid_t waitpid(pid_t, int* wstatus, int options);
pid_t wait(int* wstatus);
int waitid(idtype_t idtype, id_t id, siginfo_t* infop, int options);

__END_DECLS