[MERGE] Read .kndx files in pyrex

Matthew D. Fuller fullermd at over-yonder.net
Fri Jun 29 05:14:11 BST 2007


On Thu, Jun 28, 2007 at 10:55:32PM -0500 I heard the voice of
John Arbash Meinel, and lo! it spake thus:
> 
> I was trying to document that, but if you feel it would be better in
> a different way (or if memchr() is a better function to use, and we
> know it is portable), then I'll switch.

My memchr(3) manpage says:

STANDARDS
     The memchr() function conforms to ISO/IEC 9899:1990 (``ISO C90'').

so it's probably a little late in the game for a platform to not have
it...


> As I understand it, there isn't a "strtoi".

There isn't.  int foo = (int)strtol(...) is the standard phraseology
(or you may want an unsigned int and strtoul() in this case...).  Of
course, you could also just make int_parent a long, but what effects
that might have up-stack I don't know.



-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list