1XOSD_DESTROY(3xosd) XOSD_DESTROY(3xosd)
2
3
4
6 xosd_destroy - Destroy an XOSD object
7
9 #include <xosd.h>
10
11
12 int xosd_destroy (xosd *osd);
13
14
16 xosd_destroy destroys an XOSD object freeing up any memory used. The
17 osd object must have been created by xosd_create(3xosd).
18
19
21 osd The object to destroy.
22
23
25 On success 1 is returned, otherwise 0 is returned and xosd_error is set
26 to indicate the reason for the error.
27
28
30 char *xosd_error
31 A string to a text string describing the error, if one occurred.
32
33
35 The xosd_destroy function first appeared in version 2.0 of the XOSD li‐
36 brary, replacing the now depricated xosd_uninit function.
37
38
40 The XOSD library was originally written by André Renaud, and is curren‐
41 ly maintained by Tim Wright. This document was written by Michael Ja‐
42 sonSmith.
43
44
46 There are no known bugs with xosd_destroy. Bug reports can be sent to
47 <xosd@ignavus.net>.
48
49
51 xosd_create(3xosd)
52
53
54
55
56 XOSD_DESTROY(3xosd)