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

FreeBSD Manual Pages

  
 
  

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

NAME
       kdata_buffer_alloc -- allocate immutable	buffer data for	plotting

LIBRARY
       library "libkplot"

SYNOPSIS
       #include	<cairo.h>
       #include	<kplot.h>

       struct kdata *
       kdata_buffer_alloc(size_t hintsz);

DESCRIPTION
       The   kdata_buffer_alloc	 function  creates  a  reference-counted  data
       sources for kplot(3), initially sized to	hintsz with all	 x-values  and
       y-values	 set  to zero.	It's primarily used to copy other data sources
       into an immutable one.  Bucket values are copied	 into  this  structure
       via kdata_buffer_copy(3).

RETURN VALUES
       kdata_buffer_alloc returns NULL if memory allocation failed.

SEE ALSO
       kdata_buffer_copy(3), kplot(3)

FreeBSD	ports 15.quarterly     January 16, 2015		 KDATA_BUFFER_ALLOC(3)

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

home | help