Lines Matching defs:errormsg
377 const char *errormsg;
410 errormsg = NULL;
411 nlen = get_line(stdin, tmp, sizeof(tmp), &errormsg);
413 fprintf(ttyout, "%s; %s aborted.\n", errormsg, "login");
508 const char *errormsg;
519 errormsg = NULL;
520 nlen = get_line(stdin, line + len, sizeof(line)-len, &errormsg);
522 fprintf(ttyout, "%s; %s aborted.\n", errormsg, "operation");
1302 * If EOF/error occurs or a too-long line is encountered and errormsg
1312 get_line(FILE *stream, char *buf, size_t buflen, const char **errormsg)
1320 if (errormsg)
1321 *errormsg = "\nEOF received";
1324 if (errormsg)
1325 *errormsg = "Error encountered";
1336 if (errormsg)
1337 *errormsg = "Input line is too long";
1341 if (errormsg)
1342 *errormsg = NULL;