Date: Mon, 1 Mar 1999 07:16:56 -0800 (PST) From: pfgiffun@bachue.usc.unal.edu.co To: freebsd-gnats-submit@freebsd.org Subject: misc/10325: Implementation of itoa() for libc Message-ID: <19990301151656.22947150BD@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<DQ;\ATM`I"*\.G(,S(>=,&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-ZK<V><MK,$7J')AJ3AFNK?"-W:INL/-.,"4,G MLQNA:SO"B=F&YMRZ<,;:2:.UKDKB*5?V+/JFMILS(-Q2+JYYSM3D(-H0UC$U MA@N/="M?)N^FY$FSO$^WS=JQ#6B(;-$1QFC9I2;&&S"%E]!"#3TT%0@0NO%& M<:@)I1)7.\T!T7WBT61<2:H5&-8;W'D''F5SC,'&@.K)`9E!,KPWF7QIQ$5? M202RYH9K(\:6WG]+19=5':B)&,:!"6*E$%(.%@1AA!,*5X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"unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990301151656.22947150BD>