qnapd/pidfile.h

12 lines
234 B
C
Raw Permalink Normal View History

2011-04-17 17:08:46 +02:00
#ifndef _PIDFILE_H_
#define _PIDFILE_H_
#include <sys/types.h>
int pidfile_create(const char *filename);
int pidfile_remove(const char *filename);
pid_t pidfile_check(const char *filename, int remove_stale);
#endif // _PIDFILE_H_