Bug 2820 – itoa and ultoa functions are missing in Phobos

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-04-07T18:26:00Z
Last change time
2015-06-09T01:18:02Z
Assigned to
andrei
Creator
2korden

Comments

Comment #0 by 2korden — 2009-04-07T18:26:05Z
Starting from DMD2.027 (now that std.c.stdlib plain imports core.stdc.stdlib), a few of useful functions got lost. Namely itoa and ultoa. There might be other functions missing, too, I didn't investigate into it very well.
Comment #1 by andrei — 2010-09-26T14:45:14Z
I'm weary of adding non-standard functions to the plain stdc.stdlib, so I'm closing this.
Comment #2 by bearophile_hugs — 2010-09-26T15:05:35Z
I appreciate the 'spring cleaning' you are doing now, but some non-standard functions are useful and I'd like to keep them, like alloca() and the GNU (Linux) *_unlocked() functions like fgets_unlocked(). Thank you.