summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/poll.h
blob: 766746844222611dba4e7d2632ac35ba43608a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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>

__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