Searched refs:statln (Results 1 – 1 of 1) sorted by relevance
68 char *statln = NULL; in nsinfo__init() local106 while (getline(&statln, &linesz, f) != -1) { in nsinfo__init()108 if (strstr(statln, "Tgid:") != NULL) { in nsinfo__init()109 nsi->tgid = (pid_t)strtol(strrchr(statln, '\t'), in nsinfo__init()114 if (strstr(statln, "NStgid:") != NULL) { in nsinfo__init()115 nsi->nstgid = (pid_t)strtol(strrchr(statln, '\t'), in nsinfo__init()125 free(statln); in nsinfo__init()