Equivalent of lltostr in Linux
Hi, The function lltostr/ulltostr is available in Solaris. I found that this function is not present in stdlib.h in Linux. Is there an equivalent of this function in Linux? Please do let me know whether there is an alternative for it. Regards, Anuradha The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
On Sun, 29 Jan 2006 13:36:18 +0530 <anuradha.vembu@wipro.com> wrote:
The function lltostr/ulltostr is available in Solaris. I found that this function is not present in stdlib.h in Linux.
Is there an equivalent of this function in Linux? Please do let me know whether there is an alternative for it. lltostr() is not a standard function (I don't have a copy of the standard with me through). In any case you can use sprintf: long long alonglong; char llstr[24]; ... sprintf(llstr, "%lld", alonglong); -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
participants (2)
-
anuradha.vembu@wipro.com
-
Jerry Feldman