From owner-freebsd-bugs Mon Mar 1 7:20:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2FC591532C for ; Mon, 1 Mar 1999 07:20:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id HAA44738; Mon, 1 Mar 1999 07:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 22947150BD; Mon, 1 Mar 1999 07:16:56 -0800 (PST) Message-Id: <19990301151656.22947150BD@hub.freebsd.org> Date: Mon, 1 Mar 1999 07:16:56 -0800 (PST) From: pfgiffun@bachue.usc.unal.edu.co To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/10325: Implementation of itoa() for libc Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10325 >Category: misc >Synopsis: Implementation of itoa() for libc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 1 07:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 2.2.7R >Organization: U. Nacional de Colombia >Environment: >Description: itoa() is not defined by the ANSI standard, but it is very common in several compilers, including DGUX's. The function converts num into it's equivalent string. The radix is usually in the 2 - 16 range, but this implementation could work with 35 if desired. >How-To-Repeat: I found a Public Domain implementation of the function and cleaned it a little for it's inclusion in stdlib. >Fix: begin 644 itoa.c.Z M'YV0+U2T4`!"!8@A;^#DD9/F#!HZ(%",20$B1HZ+!`U205,&A)0R9\JXH3,' MQ!LS(.AP!%'%31H[9>3,24,GCTF40\*P26/FC1R785B`",*�B&#DD>+3,G M)DPR+C)F!+$Q3=,&Q)R3=.Z$D=,1ZTB&8NK0*4,F MY1L00F*N*<.FC$TQ>:9"*3-7#H@I8]#<*4-33\RH!:=^)&.5#ERY:=ZX`1'& M3=TZ34&DV7RVCIPQ'3O7%3-ZKN9A M>9QY)N)V;'0WVHE6J2,09UR49+_ADTIJ&M4%< M3&GH5)*0TU4'@FZWK=D5C38:]R((,[Q'E%%AD`&3',7-]%UZ?S(D:'HBT3=F M6&409QI3N($`6D?W75C266:DE5R;/VJXZ!QPK&B3HF"*N6D88ZPAX1U]D1'2 MG'2P5U`"50TZ%AE$0C2:BG5H]2I::K'551DPA;G<:KNNU-)+,9V^6^=K(+ZU^_M71JM;=)=*;,K%JF)"_S06"D-".H917Y-8E%EG9<06K MK&S1BBAO$.%:QAC!C7$R0WK>P1`==N<@3`U" M$T5(,002FP1^]CO:>V$ZD^`4(05;+<^!?),,'%VVD586]L>)X6#T(T*=L.; MWOB&EZQ13GE,.)]!KE=`Q(&@=%@;`A4^%[I: M][K8S>X)0NG:$[J'->*U+7A&.$P5A#`%SE$A;UD[PA.>0(0I3`5RYI,"V(;0 MN!VXKGR/RV(5S"<4'U(A"#,LH!2EYS8W0@YO4P!=]>0GN\Q5`0J5B,G++Q2QP0MH\((8YJ0DG*%AJ`)#F(;3%\)IJ`YF,$/\@C"'.<@)5=>!B*+J M`(>CW0D$85J,88;3E/.P`0YH.!)A0.0ERIQA8N@I56(HUI`Z\*9?&8GJ:.B@ M`)J\(0P1F2X(W"`GH;C%5ALUC`HR*Q3MPI4R>%CD'A20`+8<5T-HTFX:A#)1 M\)04!D%M+T@J@Z;P%@0.)#6+9?+K7O[N-KCBC4.`,QM4]OX3!>>5*TGO2Y$( MS[6D,<`O>_D2F@=;&`0\`$%?^<`'P*(7!#X8:^G,BE:*K# ,-)BQ+.6?4-G*[-4Q ` end >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message