Date: Fri, 30 Nov 2007 14:15:29 -0800 From: Xin LI <delphij@delphij.net> To: freebsd-arch@FreeBSD.org Subject: "Rational" way of getting a number in human readable form? Message-ID: <47508B81.4090705@delphij.net>
next in thread | raw e-mail | index | archive | help
-----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@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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47508B81.4090705>