/*++ /* NAME /* readlline 3 /* SUMMARY /* read logical line /* SYNOPSIS /* #include <readlline.h> /* /* VSTRING *readllines(buf, fp, lineno, first_line) /* VSTRING *buf; /* VSTREAM *fp; /* int *lineno; /* int *first_line; /* /* VSTRING *readlline(buf, fp, lineno) /* VSTRING *buf; /* VSTREAM *fp; /* int *lineno; /* DESCRIPTION /* readllines() reads one logical line from the named stream. /* .IP "blank lines and comments" /* Empty lines and whitespace-only lines are ignored, as /* are lines whose first non-whitespace character is a `#'. /* .IP "multi-line text" /* A logical line starts with non-whitespace text. A line that /* starts with whitespace continues a logical line. /* .PP /* The result value is the input buffer argument or a null pointer /* when no input is found. /* /* readlline() is a backwards-compatibility wrapper. /* /* Arguments: /* .IP buf /* A variable-length buffer for input. The result is null terminated. /* .IP fp /* Handle to an open stream. /* .IP lineno /* A null pointer, or a pointer to an integer that is incremented /* after reading a physical line. /* .IP first_line /* A null pointer, or a pointer to an integer that will contain /* the line number of the first non-blank, non-comment line /* in the result logical line. /* DIAGNOSTICS /* Warning: a continuation line that does not continue preceding text. /* The invalid input is ignored, to avoid complicating caller code. /* SECURITY /* .ad /* .fi /* readlline() imposes no logical line length limit therefore it /* should be used for reading trusted information only. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
(vorverarbeitet am 2026-08-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.