Lines Matching defs:pid_str
144 char pid_str[32];
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);
225 written = sss_atomic_write_s(fd, pid_str, size);