00001 /****************************************************************************** 00002 * $Id: pid.h,v 1.3 2003/12/07 18:14:22 gareuselesinge Exp $ 00003 * This file is part of liberopops (http://liberopops.sf.net) * 00004 * This file is distributed under the terms of GNU GPL license. * 00005 ******************************************************************************/ 00006 00007 00008 /******************************************************************************/ 00014 /******************************************************************************/ 00015 00016 00017 #ifndef _PID_H_ 00018 #define _PID_H_ 00019 00020 #define PIDERROR -1 00021 #define PIDSUCCESS 0 00022 00023 #define IMROOT 0 00024 00025 #ifndef WIN32 00026 00027 int create_pid_file(char *filestr); 00029 int remove_pid_file(void); 00030 #endif 00031 00032 #endif 00033
1.3.6-20040222