Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ X25PrintError(3X25) — DECnet WAN Support 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X25GetErrorText(3X25)

X25PrintError(3X25)  —  Subroutines

Digital

NAME

X25PrintError − Prints the error message for an X.25 error

LIBRARY

X.25 Library (libx25.a)
 

SYNOPSIS

#include <netx25/x25.h>
void X25PrintError(

int returnCode ,
char ∗ s );

 

PARAMETERS

returnCodeSpecifies an error returned by an X.25 library routine. 

sPoints to a null-terminated string to be displayed before the X.25 error message. 
 

DESCRIPTION

 
The X25PrintError routine displays a short error message on the standard error file describing the X.25 return code returnCode returned from a previous X.25 library routine.  If the s parameter is not a null pointer, it is displayed followed by a colon and a space.  Then the error message and a new line are displayed.  Usually the s parameter is specified as the name of the program that observed the error. 
 

RELATED INFORMATION

Functions: X25GetErrorText(3X25). 

X.25 for Digital UNIX − Programmer’s Reference Manual. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026