Lines Matching defs:errormsg
384 const char *errormsg;
417 errormsg = NULL;
418 nlen = get_line(stdin, tmp, sizeof(tmp), &errormsg);
420 fprintf(ttyout, "%s; %s aborted.\n", errormsg, "login");
514 const char *errormsg;
525 errormsg = NULL;
526 nlen = get_line(stdin, line + len, sizeof(line)-len, &errormsg);
528 fprintf(ttyout, "%s; %s aborted.\n", errormsg, "operation");
1274 * If EOF/error occurs or a too-long line is encountered and errormsg
1284 get_line(FILE *stream, char *buf, size_t buflen, const char **errormsg)
1292 if (errormsg)
1293 *errormsg = "\nEOF received";
1296 if (errormsg)
1297 *errormsg = "Error encountered";
1308 if (errormsg)
1309 *errormsg = "Input line is too long";
1313 if (errormsg)
1314 *errormsg = NULL;