atoll, llabs and lldiv

Artem B. Bityuckiy
Wed Nov 26 17:19:00 GMT 2003

And (was forgotten) the patch (attached) should be applied to 
include/stdlib.h to add lldiv_t definition.

Artem B. Bityuckiy wrote:

> Hello.
> We've ported three functions from FreeBSD: llabs, lldiv and atoll (all 
> of them are from stdlib/).
> They are rather trivial and I didn't test them therefore.
> We've added documentation header, please, check it.
> Also, I'm not sending a patch to stdlib/ since I think it's 
> unneeded.
> And question: is there any option in Newlib that switches on/off long 
> long support? If so, these functions should be segregated by the 
> appropriate macroses.

Best regards,
Artem B. Bityuckiy
SoftMine Corporation, Software Engineer
Tel.: +7(812)329-67-44, +7(812)329-67-45
Mobile: +79112449030

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stdlib.h.diff
URL: <>

More information about the Newlib mailing list