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

/freebsd-11.0-release/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.0-release/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c52 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.0-release/contrib/dma/
H A Ddma.c73 static int daemonize = 1; variable
249 if (daemonize && daemon(0, 0) != 0) {
250 syslog(LOG_ERR, "can not daemonize: %m");
253 daemonize = 0;
495 daemonize = 0;
/freebsd-11.0-release/contrib/wpa/hostapd/
H A Dmain.c389 static int hostapd_global_run(struct hapd_interfaces *ifaces, int daemonize, argument
411 if (daemonize && os_daemonize(pid_file)) {
564 int c, debug = 0, daemonize = 0; local
603 daemonize++;
770 if (hostapd_global_run(&interfaces, daemonize, pid_file)) {
H A Dhostapd_cli.c1344 int daemonize = 0; local
1358 daemonize = 1;
1447 if (daemonize && os_daemonize(pid_file))
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/
H A Dmain.c187 params.daemonize++;
H A Dwpa_priv.c1078 int daemonize = 0; local
1093 daemonize++;
1131 if (daemonize && os_daemonize(pid_file))
1150 if (daemonize)
H A Dwpa_supplicant_i.h126 * daemonize - Run %wpa_supplicant in the background
128 int daemonize; member in struct:wpa_params
138 * If this and daemonize are set, process ID of the background process
H A Dwpa_cli.c4260 int daemonize = 0; local
4276 daemonize = 1;
4376 if (daemonize && os_daemonize(pid_file))
H A Dwpa_supplicant.c4850 global->params.daemonize = params->daemonize;
4941 if (global->params.daemonize &&
/freebsd-11.0-release/usr.sbin/apmd/
H A Dapmd.c640 int daemonize = 1; local
647 daemonize = 0;
664 if (daemonize)
671 if (!daemonize)
/freebsd-11.0-release/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.0-release/contrib/ofed/management/opensm/opensm/
H A Dmain.c441 static int daemonize(osm_opensm_t * osm) function
959 daemonize(&osm);
/freebsd-11.0-release/contrib/apr/include/
H A Dapr_thread_proc.h684 * @param daemonize set to non-zero if the process should daemonize
688 APR_DECLARE(apr_status_t) apr_proc_detach(int daemonize);
/freebsd-11.0-release/usr.sbin/uhsoctl/
H A Duhsoctl.c139 static void daemonize(struct ctx *);
982 daemonize(ctx);
1288 daemonize(struct ctx *ctx) function
1302 warn("Cannot daemonize");
1500 daemonize(&ctx);

Completed in 246 milliseconds