pool_register_fd

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

pool_register_fd - allow pool to own file descriptor

SYNOPSIS

#include <pool.h>

void pool_register_fd (pool, int fd);

DESCRIPTION

Register a file descriptor to be closed when the pool is deleted. There is no way to unregister a file descriptor. If you wish to do that, then you probably want to register the fd in a subpool.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13