> Won't this still generate warning messages though? far fewer, and none on many systems. > As I remember, all the warnings were basically to do with discarding > the const from all the char * file and pathnames. on systems which prototype open as: int open(const char *, int , ...); the varargs stuff will cause some compilers to reject the pointer cast.