April 23, 2002

DevX - Software Development Resource

Use Any Image as a Background

This code allows any image to be used as a background, and scales that image to fit the browser. Just add it to the end of your HTML page:

DevX - Software Development Resource

Delete Duplicate Rows from a Table Using the Cursor

This is an advanced solution to delete duplicate Rows from a table using the cursor: create table DupTable ( Field1 varchar(20))goinsert DupTable (Field1) select ‘A11111111’ UNION ALL select ‘B22222222’ UNION

DevX - Software Development Resource

Translating errno Error Codes to Text

To translate an error code to its verbal description, use the function strerror(). strerror() is declared in as follows: char * strerror(int errcode); The function takes an error code and

DevX - Software Development Resource

The sig_atomic_t Datatype

Applications that handle signals must distinguish between atomic and non-atomic datatypes. Reading or writing an atomic object is guaranteed to take one instruction. By contrast, accessing a non-atomic object may

DevX - Software Development Resource

Obtaining a Verbal Description of errno

System calls and Standard Library functions assign a zero value to the global variable errno to indicate success. In case of an error, they assign negative values to errno. On