SilverScreen Solid Modeler

error_message

error_message

Previous topic Next topic  

error_message

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

 

void error_message ( char *message, ... )

 

char *message;       // message or format string

 

 




Synopsis

#include "silver.h"

 

The error_message function displays the error message designated by message , and waits for the user to acknowledge the message. This is the standard way for displaying errors in SilverScreen.

 

 

Parameters

message is a null-terninated string, possibly containing printf-style format specifiers. If specifiers appear, they must be matched in number and type to subsequent arguments to error_message .

 

 

Return Value

none

 

 

Comments

The types of arguments must match those expected by the format specifiers in fmt , and the number of arguments must be greater than or equal to the number of specifiers in fmt ; otherwise, the result of error_message is undefined.

 

 

See Also

fprintf for a description of format specifiers acceptable to error_message .