DragonFly On-Line Manual Pages

Search: Section:  


cxGets(3)                    The GNUpdate Project                    cxGets(3)

NAME

cxGets - Reads in a line from from a file pointer.

SYNOPSIS

#include <comprex.h> char *cxGets(char *buffer, size_t size, CxFP *fp);

PARAMETERS

buffer The buffer to store the line in. size The maximum number of bytes to read it. Also the size of the buffer. fp The file pointer.

DESCRIPTION

Reads in a line from from a file pointer. No more than size - 1 bytes will be read in. If a newline is encountered, it is stored and no further data will be read in. The resulting buffer is NUL-terminated.

RETURNS

Nothing. libcomprex 05 Mar 2003 cxGets(3)

Search: Section: