Stat — C Library Procedures
NAME
Stat_GetMsg, Stat_PrintMsg − Text description of Sprite status codes
SYNOPSIS
#include <status.h>
char ∗
Stat_GetMsg(status)
void
Stat_PrintMsg(status, string)
ARGUMENTS
ReturnStatus status (in) Status code to return text for.
char ∗string (in) Supplemental string to be printed.
DESCRIPTION
These functions provide a human-readable text string for a given Sprite status value. Stat_GetMsg returns a read-only string to the caller. Stat_PrintMsg prints a message on the standard error stream. The message looks like “string: message”, where string is passed in by the caller, and message is obtained by calling Stat_GetMsg. The string may be null, in which case only the message is printed.
KEYWORDS
status
Sprite version 1.0 — January 25, 1991