XPRSgetbanner
XPRSgetbanner |
Purpose
Returns the banner and copyright message.
Synopsis
int XPRS_CC XPRSgetbanner(char *banner);
Argument
banner
|
A buffer of at least
XPRS_MAXBUFFERLENGTH characters in which the null terminated banner string will be returned.
|
Example
The following calls
XPRSgetbanner to return banner information at the start of the program:
char banner[XPRS_MAXBUFFERLENGTH]; ... if(XPRSinit(NULL)) { /* The error message when XPRSinit fails is written to the banner. */ XPRSgetbanner(banner); printf("%s\n", banner); return 1; } XPRSgetbanner(banner); printf("%s\n", banner);
Further information
This function can most usefully be employed to return extra information if a problem occurs with
XPRSinit.
Related topics