| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 2.11

 

linebuf_last

#include "sfllbuf.h"
char *
linebuf_last (LINEBUF *buffer, DESCR *descr)

Synopsis

Fetches the newest line in the buffer. Returns a pointer that may be used in calls to linebuf next(). Returns NULL if the buffer is empty. The line is stored in the supplied descriptor, and is truncated if the descriptor is too small.

Source Code - (sfllbuf.c)

{
    ASSERT (buffer);
    ASSERT (descr);

    return (linebuf prev (buffer, descr, buffer-> head));
}

| << | < | > | >> iMatix Copyright © 1996-2000 iMatix Corporation