KPLOT_DETACH(3) |
Library Functions Manual |
KPLOT_DETACH(3) |
NAME
kplot_detach — detach plots from the plotting context
LIBRARY
library “libkplot”
SYNOPSIS
#include <cairo.h>
#include <kplot.h>
int
kplot_detach(
struct kplot *p,
const struct kdata *d);
RETURN VALUES
kplot_detach returns 0 if the data source was not found or reallocation of internal structures failed due to memory exhaustion. (The latter behaviour is very unusual, as the reallocation is always to a smaller buffer.) Otherwise it returns non-zero.