> #include <errno.h> > extern int errno; IMO, it's bad practice to put externs in your code when a header already declares them... and indeed, the header _should_ contain externs for any exported symbols... also, "man 3 strerror" ;) regards, mark hahn.