KDATA_GET(3) Library Functions Manual KDATA_GET(3)

NAME

kdata_getget points in a data set

LIBRARY

library “libkplot”

SYNOPSIS

#include <cairo.h>
#include <kplot.h>
int
kdata_get(const struct kdata *data, size_t pos, struct kpair *kp);

DESCRIPTION

The kdata_get function loads the kp pair object with the data at absolute position pos of data source data.

RETURN VALUES

kdata_get returns 0 if the position pos is not within the allocated number of pairs, else it returns non-zero.

SEE ALSO

kplot(3)
July 6, 2015 OpenBSD 5.8