[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2

trcstart Subroutine

Purpose

Starts a trace session.

Library

Runtime Services Library (librts.a)

Syntax

int trcstart(Argument)
char *Argument;

Description

The trcstart subroutine starts a trace session. The Argument parameter points to a character string containing the flags invoked with the trace daemon. To specify that a generic trace session is to be started, include the -g flag.

Parameters

Argument Character pointer to a string holding valid arguments from the trace daemon.

Return Values

If the trace daemon is started successfully, the channel number is returned. Channel number 0 is returned if a generic trace was not requested. If the trace daemon is not started successfully, a value of -1 is returned.

Implementation Specifics

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

Files

/dev/trace Trace special file.

Related Information

The trcon subroutine.

The trace daemon.


[ Previous | Next | Contents | Glossary | Home | Search ]