User Tools

Site Tools


solaris:dtrace_ctlfd.3dtrace

dtrace_ctlfd


NAME

dtrace_ctlfd - DTrace control file descriptor

SYNOPSIS

cc [ flag… ] file… -ldtrace [ library… ]
#include <dtrace.h>

int dtrace_ctlfd(dtrace_hdl_t *dtp)

DESCRIPTION

The dtrace_ctlfd() function returns the file descriptor that’s being used to communicate with the /dev/dtrace.

RETURN VALUES

On successful completion, the dtrace_ctlfd() function returns the file descriptor being used to communicate with the /dev/dtrace. On failure, the function returns -1 and sets the DTrace error number to indicate the reason for the failure. See the dtrace_errno(3DTRACE) man page for more information.

ERRORS

The dtrace_ctlfd() function will fail if:

EINVAL

dtp is NULL.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

SEE ALSO

libdtrace(3LIB), dtrace_errno(3DTRACE)


solaris/dtrace_ctlfd.3dtrace.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in