是什么_r后缀是什么意思? [英] What does _r suffix mean?

查看:382
本文介绍了是什么_r后缀是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道 _r 后缀用来表示一些线程安全的。例如 strtok的 strtok_r libmysql.so libmysql_r.so 。但是,我找不到任何地方是什么这实际上意味着?例如, _t 的意思是'型'的,什么是 _r 的后缀是什么意思?

I know _r suffix is used to indicate something thread-safe. For example strtok and strtok_r or libmysql.so and libmysql_r.so. But I cannot find anywhere what this actually means ? For example, _t means 'type' and what does _r suffix mean?

推荐答案

请参阅附录 A.4.16线程安全在<一个href=\"http://pubs.opengroup.org/onlinepubs/000095399/xrat/xbd_chap04.html\">http://pubs.opengroup.org/onlinepubs/000095399/xrat/xbd_chap04.html:

后缀_r是历史的,这里的R代表折返。

The suffix "_r" is historical, where the 'r' stood for "reentrant".

这篇关于是什么_r后缀是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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