Skip to main content

Name

io_wrapper_destroy — Decrements the refcount on the io_object, and closes and frees it if the refcount reaches 0

Synopsis

#include "io_wrapper.h"

| void **io_wrapper_destroy** ( | io); |   |

io_object * <var class="pdparam">io</var>;

Description

Decrement the refcount on the io_object, and close and frees it if the refcount reaches 0.

Deprecated

Use io_wrapper_delref instead.

Threading

It is legal to call this function in any thread.

Was this page helpful?