00001 /* 00002 ** notify.h for lseos in lseos-lib/libc/sysinterf 00003 ** 00004 ** Copyright (c)2004 Vianney Rancurel 00005 ** Login <vianney@epita.fr> 00006 ** 00007 ** Started on Tue Jul 13 19:10:36 2004 Vianney Rancurel 00008 ** Last update Mon Nov 29 18:28:29 2004 Vianney Rancurel 00009 */ 00010 #ifndef __SYSINTERF_NOTIFY_H__ 00011 #define __SYSINTERF_NOTIFY_H__ 1 00012 #include <libc.h> 00013 00014 #define SYSNOTIFY_NOTIFY 1 00015 #define SYSNOTIFY_COLLECT 2 00016 #define SYSNOTIFY_UNNOTIFY 3 00017 #define SYSNOTIFY_DUMP 10 00018 00019 /* PROTO notify.c */ 00020 /* notify.c */ 00021 int core_notify(pid_t notify_mgr); 00022 pid_t core_collect(pid_t pid, int *status, int options); 00023 int notify(pid_t who, pid_t when_dead); 00024 int unnotify(pid_t who, pid_t when_dead); 00025 pid_t collect(pid_t pid, int *status, int options); 00026 #endif