C字符串库 [英] C Strings Library

查看:116
本文介绍了C字符串库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有C(不是C ++)一个C串库,以实现在的char * wchar_t的* 字符串?

Is there a C strings library for C (not C++) that implements an abstraction over char * and wchar_t * strings?

的要求是:


  1. 要被BSD / MIT / CDDL许可

  2. 实现某种形式的引用计数机制

  3. 有常规的前pressions支持

  4. 有统一code支持

谢谢,

推荐答案

我已经结束了使用的Plan9库。对于Unix有 plan9port 或更轻便的 9base 。对于windows我用一个自定义的附带

I've ended up using Plan9 libraries. For Unix there's plan9port or the more lightweight 9base. For windows I use a custom the port that come with Go.

这篇关于C字符串库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆