poll.h 395 B

123456789101112131415161718
  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. #include <sys/cdefs.h>
  10. __BEGIN_DECLS
  11. int poll(struct pollfd* fds, nfds_t nfds, int timeout);
  12. int ppoll(struct pollfd* fds, nfds_t nfds, const struct timespec* timeout, sigset_t const* sigmask);
  13. __END_DECLS