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

FreeBSD Manual Pages

  
 
  

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

NAME
       dc_buffer_get_data -- get the data of a buffer

LIBRARY
       library "libdivecomputer"

SYNOPSIS
       #include	<libdivecomputer/buffer.h>

       unsigned	char *
       dc_buffer_get_data(dc_buffer_t *buffer);

DESCRIPTION
       Get    the   data   used	  by   buffer,	 previously   allocated	  with
       dc_buffer_new(3).  For the buffer size, use dc_buffer_get_size(3).

       The returned pointer is not valid after subsequent calls	to change  the
       buffer.

RETURN VALUES
       Returns	the  data  or NULL if buffer is	NULL or	no data	has been allo-
       cated to	the buffer.

SEE ALSO
       dc_buffer_get_size(3), 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_GET_DATA(3)

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

home | help