Functions | |
| gboolean | icd_pid_remove (const char *pidfile) |
| static gint | icd_pid_read (const char *pidfile) |
| gint | icd_pid_check (const char *pidfile) |
| gboolean | icd_pid_write (const char *pidfile) |
| gint icd_pid_check | ( | const char * | pidfile | ) |
Check wheter the process id stored in the pid file exists
| pidfile | the full pathname of the pid file |
References icd_pid_read(), and icd_pid_remove().
Referenced by main().
| static gint icd_pid_read | ( | const char * | pidfile | ) | [static] |
Read the process id from the pid file
| pidfile | the full pathname of the pid file |
References icd_pid_remove().
Referenced by icd_pid_check().
| gboolean icd_pid_remove | ( | const char * | pidfile | ) |
Remove process id file
| pidfile | the full pathname of the pid file |
Referenced by icd_pid_check(), icd_pid_read(), and main().
| gboolean icd_pid_write | ( | const char * | pidfile | ) |
Write the process id to the pid file
| pidfile | the full pathname of the pid file |
Referenced by main().
1.5.6