Searched refs:statln (Results 1 – 1 of 1) sorted by relevance
68 char *statln = NULL; in nsinfo__init() local107 while (getline(&statln, &linesz, f) != -1) { in nsinfo__init()109 if (strstr(statln, "Tgid:") != NULL) { in nsinfo__init()110 nsi->tgid = (pid_t)strtol(strrchr(statln, '\t'), in nsinfo__init()115 if (strstr(statln, "NStgid:") != NULL) { in nsinfo__init()116 nspid = strrchr(statln, '\t'); in nsinfo__init()121 nsi->in_pidns = (statln + sizeof("NStgid:") - 1) != nspid; in nsinfo__init()130 free(statln); in nsinfo__init()
Completed in 3 milliseconds