Lines Matching refs:username_list
92 static char *username_list;
154 // since username_list is static across threads and processes
179 username_list = malloc( optRecords * USERNAME_LEN );
180 if (!username_list) {
186 sprintf(&username_list[i*USERNAME_LEN], "%s%d", default_uprefix, i+1);
187 // debug("creating username %s", &username_list[i*USERNAME_LEN]);
212 err = getpwnam_r( &username_list[index], pwd_ptr, pbuf, BUFSIZE, &tmp_ptr);
214 printf("error: %s -> %s", &username_list[index], strerror(err));
218 debug("not found: %s", &username_list[index]);
224 passwd = getpwnam( &username_list[index] );
228 debug("error: %s -> %s", &username_list[index], strerror(errno));
232 debug("not found: %s", &username_list[index]);
250 free (username_list);