"Rational" way of getting a number in human readable form?

Xin LI delphij at delphij.net
Fri Nov 30 14:32:18 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

It seems that we have some code getenv_quad() that accepts numbers in
"50M" "36G" alike form.  Is it reasonable to add some sort of format
characters to vsscanf(9) so that it would be able to handle this, or is
it more appropriate to grow my own one?

Cheers,
- --
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHUIuBhcUczkLqiksRAryZAKCqg9MeZtDzLElypUFJECr/fAANZwCgspwo
E/dfG/16FdYaChVg8+4a/hs=
=0Vo+
-----END PGP SIGNATURE-----


More information about the freebsd-arch mailing list