FreeBSD Manual Pages
KDATA_BUCKET_ADD(3) Library Functions Manual KDATA_BUCKET_ADD(3) NAME kdata_bucket_add kdata_bucket_set -- modify bucket data values LIBRARY library "libkplot" SYNOPSIS #include <cairo.h> #include <kplot.h> int kdata_bucket_add(struct kdata *d, size_t bucket, double y); int kdata_bucket_set(struct kdata *d, size_t bucket, size_t x, double y); DESCRIPTION The kdata_bucket_add and kdata_bucket_set set the x and y values to the position mapped from bucket after checking that bucket lies in the range provided to kdata_bucket_alloc(3). RETURN VALUES kdata_bucket_add and kdata_bucket_set return 0 if the bucket is outside of the bucket range, the source was not created with kdata_bucket_alloc(3), or if any dependent sources fail. Otherwise it returns non-zero. SEE ALSO kdata_bucket_alloc(3), kplot(3) FreeBSD ports 15.quarterly January 30, 2015 KDATA_BUCKET_ADD(3)
NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=kdata_bucket_add&sektion=3&manpath=FreeBSD+Ports+15.0.quarterly>
