Function rc_remove_pid_file#

Function Documentation#

int rc_remove_pid_file(void)#

Removes the PID file created by rc_make_pid_file().

This should be called before your program closes to make sure it’s not left behind.

Returns:

Returns 0 whether or not the file was actually there. Returns -1 if there was a file system error.