Lines Matching refs:argv0
92 static char *argv0 = NULL; variable
362 … avahi_set_proc_title(argv0, "%s: running [%s]", argv0, avahi_server_get_host_name_fqdn(s)); in server_callback()
391 avahi_set_proc_title(argv0, "%s: collision [%s]", argv0, n); in server_callback()
410 … avahi_set_proc_title(argv0, "%s: registering [%s]", argv0, avahi_server_get_host_name_fqdn(s)); in server_callback()
443 argv0); in help()
1561 if ((argv0 = strrchr(argv[0], '/')))
1562 argv0 = avahi_strdup(argv0 + 1);
1564 argv0 = avahi_strdup(argv[0]);
1566 daemon_pid_file_ident = (const char *) argv0;
1567 daemon_log_ident = (char*) argv0;
1584 printf("%s "PACKAGE_VERSION"\n", argv0);
1694 if (avahi_chroot_helper_start(argv0) < 0) {
1699 avahi_log_info("%s "PACKAGE_VERSION" starting up.", argv0);
1700 sd_notifyf(0, "STATUS=%s "PACKAGE_VERSION" starting up.", argv0);
1701 avahi_set_proc_title(argv0, "%s: starting up", argv0);
1706 avahi_log_info("%s "PACKAGE_VERSION" exiting.", argv0);
1707 sd_notifyf(0, "STATUS=%s "PACKAGE_VERSION" exiting.", argv0);
1733 avahi_free(argv0);