poll.h 372 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <Kernel/API/POSIX/poll.h>
  8. #include <signal.h>
  9. __BEGIN_DECLS
  10. int poll(struct pollfd* fds, nfds_t nfds, int timeout);
  11. int ppoll(struct pollfd* fds, nfds_t nfds, const struct timespec* timeout, sigset_t const* sigmask);
  12. __END_DECLS