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
KPLOT_DETACH(3) FreeBSD Library Functions Manual KPLOT_DETACH(3)

kplot_detachdetach plots from the plotting context

library “libkplot”

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

int
kplot_detach(struct kplot *p, const struct kdata *d);

The kplot_detach function detaches a data source d from a plotting context p as added with kplot_attach_data(3), kplot_attach_datas(3), or kplot_attach_smooth(3). In doing so, it decrements the reference count of the data source.

If the data source is added with kplot_attach_datas(3), all of the data sources attached alongside are removed as well.

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.

kplot(3), kplot_attach_data(3), kplot_attach_datas(3), kplot_attach_smooth(3)

February 12, 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.