(this is one of those me too replies ;-)

I've always found perror very handy, e.g.

        ...
        mkdir_return = mkdir(fullpath,0777);
        perror("mkdir results");
        ...

Cheers
f.

Joe Landman wrote:
Mark Hahn wrote:
    #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" ;)

Heh... I just cut and pasted the synopsis.  Good point/catch.



regards, mark hahn.
_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf


_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to