Runtime Services Library (librts.a)
int trcstart( Argument)
char *Argument;
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.
Argument | Character pointer to a string holding valid arguments from the trace daemon. |
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.
This subroutine is part of Base Operating System (BOS) Runtime.
/dev/trace | Trace special file. |
The trcon (trcon Subroutine) subroutine.
The trace daemon.