pool_register_fd - allow pool to own file descriptor |
#include <pool.h> void pool_register_fd (pool, int fd); |
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. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |