TD_OPEN(3)

NAME
td_open, td_close - make or close a connection to a threaded process

LIBRARY
libpthread_dbg

SYNOPSIS
#include <pthread_dbg.h>
int
td_open(struct td_proc_callbacks_t *cb, void *arg, td_proc_t **procp);
int
td_close(td_proc_t *proc);

DESCRIPTION
The td_open() function makes a connection to a threaded process. That program must be a consumer of the POSIX threads implementation using the pthread(3) library.

The td_close() function closes a connection to a threaded process.

RETURN VALUES
If successful, the td_open() and td_close() functions will return TD_ERR_OK. Otherwise an error number will be returned to indicate failure as described in pthread_dbg(3).

SEE ALSO
pthread(3), pthread_dbg(3)

HISTORY
The td_open() and td_close() functions first appeared in NetBSD 2.0.

AUTHORS
-nosplit Nathan J. Williams <nathanw@NetBSD.org>

This manual page was written by Kamil Rytarowski <kamil@NetBSD.org>.