C11的安全字符串函数何时会成为glibc的一部分? [英] When will the safe string functions of C11 be part of glibc?

查看:226
本文介绍了C11的安全字符串函数何时会成为glibc的一部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C11标准附录K定义了一堆新的更安全的字符串函数,所有后缀均带有 _s (例如 strcpy_s ).

The C11 standard Annex K defines a bunch of new safer string functions, all suffixed by _s (e.g. strcpy_s).

您知道这些新功能何时将在GNU C库glibc中可用吗?

Do you know when these new functions will become available in the GNU C library glibc?

到目前为止,您必须使用第三方库,例如 safec .

So far you have to fall back to a third party library like safec.

推荐答案

您知道这些新功能何时将在GNU C库glibc中可用吗?

Do you know when these new functions will become available in the GNU C library glibc?

当有人贡献实现并说服GLIBC维护者这些功能很好时.

When someone contributes an implementation and convinces GLIBC maintainers that these functions are good to have.

2007年以来的相关线程.

Relevant thread from 2007.

这篇关于C11的安全字符串函数何时会成为glibc的一部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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