Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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  encoun-
       tered,  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)

NAME | SYNOPSIS | PARAMETERS | DESCRIPTION | RETURNS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=cxGets&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help