[Beowulf] Stupid MPI programming question

Fred L Youhanaie fly at anydata.co.uk
Thu Sep 28 00:01:47 PDT 2006


(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 at beowulf.org
>> To change your subscription (digest mode or unsubscribe) visit 
>> http://www.beowulf.org/mailman/listinfo/beowulf
> 
> 



More information about the Beowulf mailing list