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

/sssd-io/src/tools/common/
H A Dsss_process.c48 char pid_str[MAX_PID_LENGTH] = {'\0'}; local
61 fsize = fread(pid_str, sizeof(char), MAX_PID_LENGTH * sizeof(char),
82 pid_str[MAX_PID_LENGTH-1] = '\0';
83 *out_pid = parse_pid(pid_str);
/sssd-io/src/util/
H A Dserver.c145 char pid_str[32]; local
153 ssize_t pidlen = sizeof(pid_str) - 1;
164 len = sss_atomic_read_s(fd, pid_str, pidlen);
175 pid_str[len] = '\0';
178 pid = (pid_t)atoi(pid_str);
221 memset(pid_str, 0, sizeof(pid_str));
222 snprintf(pid_str, sizeof(pid_str) -1, "%u\n", (unsigned int) getpid());
223 size = strlen(pid_str);
[all...]

Completed in 10 milliseconds