/* * This file is part of Jehanne. * * Copyright (C) 2017 Giacomo Tesio * * This is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, version 3 of the License. * * Jehanne is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Jehanne. If not, see . */ typedef struct WaitList WaitList; struct WaitList { int pid; int status; WaitList *next; }; typedef struct ChildList ChildList; struct ChildList { int pid; ChildList *next; }; extern void __libposix_files_check_conf(void); extern void __libposix_errors_check_conf(void); extern void __libposix_processes_check_conf(void); extern void __libposix_signal_check_conf(void); extern int __libposix_initialized(void); extern int __libposix_get_errno(PosixError e); extern void __libposix_setup_exec_environment(char * const *env); extern int __libposix_translate_errstr(uintptr_t caller); extern int __libposix_note_handler(void *ureg, char *note); extern void __libposix_free_wait_list(void); extern void __libposix_setup_new_process(void); extern int __libposix_note_to_signal(char *note);