GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
KDATA_VECTOR_ADD(3) FreeBSD Library Functions Manual KDATA_VECTOR_ADD(3)

kdata_vector_append, kdata_vector_setmodify data of a vector data source

library “libkplot”

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

int
kdata_vector_append(struct kdata *data, double x, double y);

int
kdata_vector_set(struct kdata *data, size_t pos, double x, double y);

The kdata_vector_append function sets the x and y values the pairs at pos, or in the event of kdata_vector_append, after growing vector data source allocated with kdata_vector_alloc(3).

kdata_vector_append returns 0 if the vector reallocation failed, the data source was not created with kdata_vector_alloc(3), or if dependent data sources fail. Otherwise it returns non-zero.

kdata_vector_alloc(3), kplot(3)

January 31, 2015 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.