atoll, llabs and lldiv

Artem B. Bityuckiy abitytsky@softminecorp.com
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/Makefile.am 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
E-mail: abitytsky@softminecorp.com
Web: www.softminecorp.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stdlib.h.diff
URL: <http://sourceware.org/pipermail/newlib/attachments/20031126/52d4b69b/attachment.ksh>


More information about the Newlib mailing list