static int /* status */
general_routine ()
{
if (<error condition 1>)
return (ERROR_CODE_1);
if (<error condition 2>)
return (ERROR_CODE_2);
...
<more error checking>
<finally do something>
return (STS_OK);
}
/* End of File */