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

FreeBSD Manual Pages

  
 
  

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

NAME
       dc_buffer_append	-- append to a binary buffer

LIBRARY
       library "libdivecomputer"

SYNOPSIS
       #include	<libdivecomputer/buffer.h>

       int
       dc_buffer_append(dc_buffer_t *buffer,	   const unsigned char data[],
	   size_t size);

DESCRIPTION
       Append size bytes of data into the  buffer  previously  allocated  with
       dc_buffer_new(3).

RETURN VALUES
       Returns	non-zero  on success or	zero on	memory exhaustion or if	buffer
       is NULL.

SEE ALSO
       dc_buffer_new(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_APPEND(3)

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

home | help