xosd_destroy(3)

xosd_destroy3

Destroy an xosd object

Usage

#include <xosd.h>

int xosd_destroy (xosd *osd);

Overview

xosd_destroy destroys an XOSD object freeing up any memory used. The osd object must have been created by xosd_create(3xosd).

Arguments

osd

The object to destroy.

Return value

On success 1 is returned, otherwise 0 is returned and xosd_error is set to indicate the reason for the error.

Environment

char *xosd_error

A string to a text string describing the error, if one occurred.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1–6.0
  2. 7–12
  3. 13
  4. Arch

History

The xosd_destroy function first appeared in version 2.0 of the XOSD library, replacing the now depricated xosd_uninit function.

Authors

The XOSD library was originally written by André Renaud, and is currenly maintained by Tim Wright. This document was written by Michael JasonSmith.

Bugs

There are no known bugs with xosd_destroy. Bug reports can be sent to <[email protected]>.

From xosd 2.2.14-12 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.