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

#pragma once

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

__BEGIN_DECLS

int poll(struct pollfd* fds, nfds_t nfds, int timeout);
int ppoll(struct pollfd* fds, nfds_t nfds, const struct timespec* timeout, sigset_t const* sigmask);

__END_DECLS