Content-type: text/html Man page of pthread_debug_cmd

pthread_debug_cmd

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

pthread_debug_cmd - Passes a list of pthread_debug commands to DECthreads.  

LIBRARY

DECthreads POSIX 1003.1c Library (libpthread.so)  

SYNOPSIS

#include <pthread.h>

pthreadDbgStatus_t pthread_debug_cmd(
                                 char    *cmd);  

STANDARDS

Interfaces documented on this reference page conform to industry standards as follows:

IEEE Std 1003.1c-1995, POSIX System Application Program Interface  

PARAMETERS

NULL-terminated pthread_debug command string to pass to DECthreads debug. Use semicolons to separate debug commands.  

DESCRIPTION

This routine passes a list of debugging commands to DECthreads. Each command (separated by a semicolon) is executed in sequence. Any output is written to standard output. This routine returns the status of the last specified operation in the command string when the final command (or Exit command) is executed.

To invoke the DECthreads debugger for interactive commands, use pthread_debug.  

EXAMPLES

The following are two examples of listing commands in a call to this routine:
   pthread_debug_cmd("thread -b; mu -lq; cond -wq");
   pthread_debug_cmd("att");

 

RETURN VALUES

If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows: Command successful. Last command was quit or exit No objects selected (for example, thread -br) Alternate success No privilege for command Invalid parameter on command Invalid object sequence number given Inconsistent state for operation Unable to complete due to internal corruption Invalid command options Missing command argument Invalid address Invalid command No command given Conflicting options Unimplemented feature  

ERRORS

None  

RELATED INFORMATION

Functions: pthread_debug(3)

Manuals: Guide to DECthreads and Programmer's Guide

delim off


 

Index

NAME
LIBRARY
SYNOPSIS
STANDARDS
PARAMETERS
DESCRIPTION
EXAMPLES
RETURN VALUES
ERRORS
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:41 GMT, October 02, 2010