Ç的atoi()在Linux上宽字符? [英] c atoi() for wide chars on linux?
本文介绍了Ç的atoi()在Linux上宽字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有一个C的atoi(),相当于在Linux上宽字符?我能找到的东西为MS(wtoi),但我可以找到一个标准的Linux LIB什么。
Is there a c atoi() equivalent for wide chars on Linux? I can find something for MS (wtoi) but I can find anything in a standard Linux lib.
推荐答案
您可以使用的 wcstol ,向宽字符串转换为整数值。
You can use wcstol to convert from wide strings to integer values.
这篇关于Ç的atoi()在Linux上宽字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文