Broadcast forwarder for ip-bound gameservers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
234 B

  1. #ifndef _PIDFILE_H_
  2. #define _PIDFILE_H_
  3. #include <sys/types.h>
  4. int pidfile_create(const char *filename);
  5. int pidfile_remove(const char *filename);
  6. pid_t pidfile_check(const char *filename, int remove_stale);
  7. #endif // _PIDFILE_H_