[Python-Dev] Symbolic errno values in error messages
Nick Coghlan
ncoghlan at gmail.com
Fri May 16 16:15:23 CEST 2008
Alexander Belopolsky wrote:
> Yannick Gingras <ygingras <at> ygingras.net> writes:
>> 2) Where can I find the symbolic name in C?
>
> Use standard C library char* strerror(int errnum) function. You can see
> an example usage in Modules/posixmodule.c (posix_strerror).
I don't believe that would provide adequate Windows support.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-Dev
mailing list