| Tor 0.4.9.3-alpha-dev
    | 
Record this process's PID to disk. More...
#include "orconfig.h"#include "lib/process/pidfile.h"#include "lib/log/log.h"#include <errno.h>#include <stdio.h>#include <string.h>Go to the source code of this file.
| Functions | |
| int | write_pidfile (const char *filename) | 
Record this process's PID to disk.
Definition in file pidfile.c.
| int write_pidfile | ( | const char * | filename | ) | 
Write the current process ID, followed by NL, into filename. Return 0 on success, -1 on failure.
Definition at line 31 of file pidfile.c.
Referenced by options_act().