DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Terminology for graphics driver writers

Error handling in graphics drivers

Use the ErrorF( ) routine to notify the user of error conditions that arise. For example, the nte sample driver includes the following code to notify the user when the hardware cannot be initialized because the requested screen depth is not supported:

   ErrorF("nte: unsupported screen depth: %d\n", pReq->dfltDepth);

© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005