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

/sssd/src/tools/common/
H A Dsss_process.c47 char pid_str[MAX_PID_LENGTH] = {'\0'}; local
60 fsize = fread(pid_str, sizeof(char), MAX_PID_LENGTH * sizeof(char),
81 pid_str[MAX_PID_LENGTH-1] = '\0';
82 *out_pid = parse_pid(pid_str);
/sssd/src/util/
H A Dserver.c144 char pid_str[32]; local
152 ssize_t pidlen = sizeof(pid_str) - 1;
163 len = sss_atomic_read_s(fd, pid_str, pidlen);
174 pid_str[len] = '\0';
177 pid = (pid_t)atoi(pid_str);
220 memset(pid_str, 0, sizeof(pid_str));
221 snprintf(pid_str, sizeof(pid_str) -1, "%u\n", (unsigned int) getpid());
222 size = strlen(pid_str);
[all...]

Completed in 45 milliseconds