Home
last modified time | relevance | path

Searched refs:lock_path (Results 1 – 1 of 1) sorted by relevance

/external/libwebsockets/lib/misc/
Ddaemonize.c33 static char *lock_path; variable
54 if (!lock_path) in child_handler()
59 fd = lws_open(lock_path, O_TRUNC | O_RDWR | O_CREAT, 0640); in child_handler()
63 lock_path, errno, strerror(errno)); in child_handler()
71 lock_path, errno, strerror(errno)); in child_handler()
87 if (lock_path) { in lws_daemon_closing()
88 unlink(lock_path); in lws_daemon_closing()
89 lws_free_set_NULL(lock_path); in lws_daemon_closing()
135 unlink(lock_path); in lws_daemonize()
140 lock_path = lws_malloc(n, "daemonize lock"); in lws_daemonize()
[all …]