Andreas wrote: >Your program has to check for it anyway, so what's the point? NULL is >*never* a valid pointer, and if you pass it to a function that expects >a valid pointer all bets are off. But fopen has a clearly defined error return condition (returning NULL) which is all that needs to be checked by the calling program. Chris