Searched refs:daemonize (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/apr/threadproc/unix/
H A Dprocsup.c19 APR_DECLARE(apr_status_t) apr_proc_detach(int daemonize)
28 if (daemonize) {
48 if (setsid() == -1 && daemonize) {
/freebsd-11-stable/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c52 static int daemonize = 1; variable
200 if (daemonize) {
398 daemonize = 0;
415 daemonize = 0;
440 if ((access(logfile,W_OK)) && daemonize) {
452 if (daemonize) printf("logfile: %s\n",logfile);
456 if (daemonize) {
/freebsd-11-stable/contrib/dma/
H A Ddma.c74 static int daemonize = 1; variable
250 if (daemonize && daemon(0, 0) != 0) {
251 syslog(LOG_ERR, "can not daemonize: %m");
254 daemonize = 0;
496 daemonize = 0;
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dmain.c414 static int hostapd_global_run(struct hapd_interfaces *ifaces, int daemonize, argument
436 if (daemonize) {
644 int c, debug = 0, daemonize = 0; local
699 daemonize++;
891 if (hostapd_global_run(&interfaces, daemonize, pid_file)) {
H A Dhostapd_cli.c2013 int daemonize = 0; local
2027 daemonize = 1;
2107 if (daemonize && os_daemonize(pid_file) && eloop_sock_requeue())
/freebsd-11-stable/usr.sbin/apmd/
H A Dapmd.c642 int daemonize = 1; local
649 daemonize = 0;
666 if (daemonize)
673 if (!daemonize)
/freebsd-11-stable/contrib/pf/ftp-proxy/
H A Dftp-proxy.c129 int anonymous_only, daemonize, id_count, ipv6_mode, loglevel, max_sessions, variable
339 if (daemonize)
579 if (daemonize)
610 daemonize = 1;
650 daemonize = 0;
761 if (daemonize) {
763 err(1, "cannot daemonize");
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dmain.c217 params.daemonize++;
H A Dwpa_priv.c1202 int daemonize = 0; local
1221 daemonize++;
1259 if (daemonize && os_daemonize(pid_file) && eloop_sock_requeue())
1278 if (daemonize)
H A Dwpa_supplicant_i.h128 * daemonize - Run %wpa_supplicant in the background
130 int daemonize; member in struct:wpa_params
140 * If this and daemonize are set, process ID of the background process
H A Dwpa_cli.c4651 int daemonize = 0; local
4666 daemonize = 1;
4737 if (daemonize && os_daemonize(pid_file) && eloop_sock_requeue())
H A Dwpa_supplicant.c6403 global->params.daemonize = params->daemonize;
6506 if (global->params.daemonize &&
/freebsd-11-stable/contrib/apr/include/
H A Dapr_thread_proc.h697 * @param daemonize set to non-zero if the process should daemonize
701 APR_DECLARE(apr_status_t) apr_proc_detach(int daemonize);
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dmain.c515 static int daemonize(osm_opensm_t * osm) function
1182 daemonize(&osm);
/freebsd-11-stable/usr.sbin/uhsoctl/
H A Duhsoctl.c141 static void daemonize(struct ctx *);
984 daemonize(ctx);
1290 daemonize(struct ctx *ctx) function
1304 warn("Cannot daemonize");
1502 daemonize(&ctx);

Completed in 164 milliseconds