This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

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.