Searched defs:pidfile (Results 1 - 2 of 2) sorted by relevance

/sssd/src/tests/cwrap/
H A Dtest_server.c45 static void wait_for_bg_server(const char *pidfile) argument
64 ret = stat(pidfile, &sb);
68 /* read the pidfile */
69 fd = open(pidfile, O_RDONLY);
90 unlink(pidfile);
140 char *pidfile; local
145 pidfile = talloc_asprintf(NULL, "%s/%s.pid", TEST_PID_PATH, __FUNCTION__);
148 unlink(pidfile);
160 wait_for_bg_server(pidfile);
161 talloc_free(pidfile);
[all...]
/sssd/src/util/
H A Dserver.c142 int pidfile(const char *path, const char *name) function
504 ret = pidfile(get_pid_path(), name);
506 DEBUG(SSSDBG_FATAL_FAILURE, "Error creating pidfile: %s/%s.pid! "

Completed in 16 milliseconds