| iMatix home page | << | < | > | >> |
SFL Version 2.11 |
#include "sfllbuf.h" char * linebuf_next (LINEBUF *buffer, DESCR *descr, const char *curline)
Fetches the next line in the buffer, using the pointer that was returned by linebuf first(). Returns NULL if there are no more lines in the buffer, or a pointer for further calls. The line is stored in the supplied descriptor, and is truncated if the descriptor is too small.
{ ASSERT (buffer); ASSERT (descr); ASSERT (curline); if (curline == buffer-> head) return (NULL); /* We're at the end */ else return (get_line (buffer, descr, curline)); }
| << | < | > | >> | Copyright © 1996-2000 iMatix Corporation |