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 stops trace data collection for a trace channel. The trace session must have already been started using the trace command or the trcstart subroutine.

Parameters

Item Description
Channel Channel number for the trace session.

Return Values

If the trcoff subroutine was successful, zero is returned and trace data collection stops. If unsuccessful, a negative one is returned.