create_pid_file

Function create_pid_file 

Source
pub unsafe extern "C" fn create_pid_file(
    pidfile: *const c_char,
    kill: gboolean,
) -> c_int
Expand description

Returns file descriptor (or -1 when failed).

  • pidfile: The pidfile to create.
  • kill: Try killing running instance.