Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/misc/
Ddaemonize.c32 pid_t pid_daemon; variable
37 return pid_daemon; in get_daemonize_pid()
66 len = sprintf(sz, "%u", (unsigned int)pid_daemon); in child_handler()
86 if (getpid() == pid_daemon) in lws_daemon_closing()
154 pid_daemon = fork(); in lws_daemonize()
155 if ((int)pid_daemon < 0) { in lws_daemonize()
162 if (pid_daemon > 0) { in lws_daemonize()
178 pid_daemon = getpid(); in lws_daemonize()
/third_party/libwebsockets/lib/core/
Dcontext.c383 pid_t pid_daemon = get_daemonize_pid(); in lws_create_context() local
940 if (pid_daemon) { in lws_create_context()
941 context->started_with_parent = pid_daemon; in lws_create_context()
943 (unsigned int)pid_daemon); in lws_create_context()