KDATA_BUFFER_COPY(3) Library Functions Manual KDATA_BUFFER_COPY(3)

NAME

kdata_buffer_copycopy immutable buffer data

LIBRARY

library “libkplot”

SYNOPSIS

#include <cairo.h>
#include <kplot.h>
int
kdata_buffer_copy(struct kdata *dst, struct kdata *src);

DESCRIPTION

The kdata_buffer_copy function copies data from src into the buffer source dst that was created with kdata_buffer_alloc(3).

RETURN VALUES

kdata_buffer_copy returns 0 if memory allocation failed.

SEE ALSO

kdata_buffer_alloc(3), kplot(3)
January 15, 2015 OpenBSD 5.8