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

 

linebuf_reset

#include "sfllbuf.h"
void
linebuf_reset (LINEBUF *buffer)

Synopsis

Resets a line buffer; i.e. empties it of all data. This is done simply by setting the tail and head to the start of the buffer.

Source Code - (sfllbuf.c)

{
    ASSERT (buffer);
    buffer-> head = buffer-> data;
    buffer-> tail = buffer-> data;
}

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