[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 2

trcoff Subroutine

Purpose

Halts the collection of trace data from within a process.

Library

Runtime Services Library (librts.a)

Syntax

int trcoff(Channel)
int Channel;

Description

The trcoff subroutine issues an ioctl subroutine to the trace device driver to stop trace data collection for a particular trace channel. The trace session must have already been started using the trace command or the trcstart subroutine.

Parameters

Channel Channel number for the trace session.

Return Values

0 The ioctl subroutine was successful. Trace data collection stops.
-1 The ioctl subroutine was not successful.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The ioctl subroutine, trcgen subroutine, trchook subroutine, trcon subroutine, trcstart subroutine, trcstop subroutine.

The trace daemon.

trcgenk kernel service, trcgenkt kernel service.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]