Searched refs:statln (Results 1 – 1 of 1) sorted by relevance
66 char *statln = NULL; in nsinfo__get_nspid() local74 while (getline(&statln, &linesz, f) != -1) { in nsinfo__get_nspid()76 if (strstr(statln, "Tgid:") != NULL) { in nsinfo__get_nspid()77 nsi->tgid = (pid_t)strtol(strrchr(statln, '\t'), in nsinfo__get_nspid()82 if (strstr(statln, "NStgid:") != NULL) { in nsinfo__get_nspid()83 nspid = strrchr(statln, '\t'); in nsinfo__get_nspid()89 nsi->in_pidns = (statln + sizeof("NStgid:") - 1) != nspid; in nsinfo__get_nspid()95 free(statln); in nsinfo__get_nspid()
Completed in 3 milliseconds