Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

db_put

Name

db_put � Unconditionally output a string to the trace buffer

Synopsis

#include <spp.h>

int db_put (string)
char *string; /* string to write out */

Description

The dp_put function writes the string to the trace buffer regardless of whether the calling process now is being traced. It writes the string as it is to standard error if the trace facility was not initialized through db_init. Before writing to the trace buffer, it splits the output string into 78 character lines (if necessary) to fit in the buffer.

The db_put message can be displayed on standard out (stdout) through the trace command.

Examples

db_put ("DIP: Got a Message ");

Diagnostics

No indication of success or failure is returned.

See also

� 2002 Avaya Inc. All Rights Reserved.