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

FreeBSD Manual Pages

  
 
  

home | help
DC_BUFFER_NEW(3)	    Library Functions Manual	      DC_BUFFER_NEW(3)

NAME
       dc_buffer_new --	create an resizable binary buffer

LIBRARY
       library "libdivecomputer"

SYNOPSIS
       #include	<libdivecomputer/buffer.h>

       dc_buffer_t *
       dc_buffer_new(size_t capacity);

DESCRIPTION
       Create a	resizable binary buffer	of initial size	capacity, which	may be
       zero.  The created buffer must be freed with dc_buffer_free(3).

RETURN VALUES
       Returns a pointer to a dc_buffer_t or NULL on memory exhaustion.

SEE ALSO
       dc_buffer_free(3)

AUTHORS
       The  library  "libdivecomputer"	library	 was  written  by Jef Driesen,
       jef@libdivecomputer.org.	 The manpages were written by
       Kristaps	Dzonsons, kristaps@bsd.lv.

FreeBSD	Ports 14.quarterly	January	5, 2017		      DC_BUFFER_NEW(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=dc_buffer_new&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help