wait.h 403 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <Kernel/API/POSIX/signal.h>
  8. #include <Kernel/API/POSIX/sys/wait.h>
  9. #include <sys/cdefs.h>
  10. __BEGIN_DECLS
  11. pid_t waitpid(pid_t, int* wstatus, int options);
  12. pid_t wait(int* wstatus);
  13. int waitid(idtype_t idtype, id_t id, siginfo_t* infop, int options);
  14. __END_DECLS