XPRSgetbanner
XPRSgetbanner |
Purpose
Returns the banner and copyright message.
Synopsis
int XPRS_CC XPRSgetbanner(char *banner);
Argument
|
banner
|
Buffer long enough to hold the banner (plus a null terminator). This can be at most 512 characters.
|
Example
The following calls
XPRSgetbanner to return banner information at the start of the program:
char banner[512];
...
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
