Searched refs:newfield (Results 1 – 1 of 1) sorted by relevance
78 static void get_field(const char *fieldstr, char *newfield, int newfieldlen) in get_field() argument85 if (fgets(newfield, newfieldlen, stdin) == NULL) in get_field()88 if (newfield[strlen(newfield) - 1] == '\n') in get_field()89 newfield[strlen(newfield) - 1] = '\0'; in get_field()91 if (strlen(newfield) == 0) { in get_field()