00001 /* pidfile.h 00002 * 00003 * Functions to assist in the writing and removing of pidfiles. 00004 * 00005 * Russ Dill <Russ.Dill@asu.edu> Soptember 2001 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00020 */ 00021 00022 00023 int pidfile_acquire(char *pidfile); 00024 void pidfile_write_release(int pid_fd); 00025 void pidfile_delete(char *pidfile); 00026