什么后缀" _t"站立在C? [英] What does the postfix "_t" stand for in C?
问题描述
可能重复:
<一href=\"http://stackoverflow.com/questions/231760/what-does-a-type-followed-by-t-underscore-t-re$p$psent\">What没有一个类型后跟_T(下划线-T)再present?
虽然我的IDE(X code)打字,当我中途直通输入一些变量名的自动完成弹出已定义的话。我偶尔看到有名字 _t
'在他们的末端。
While typing in my IDE (Xcode), autocomplete pops up already-defined words when I'm partway thru entering some variable name. I occasionally see names that have '_t
' at the end of them.
-
什么命名约定是什么意思呢?
What naming convention is that and what does it mean?
有一个参考文件查找pre型和通用后修复?
Is there a reference document to look up pre- and post-fixes in common use?
在后缀一词搜索给了我一个关于相同名称的邮件服务器大量GoogleNoise的。
Searching with the term "postfix" gives me a lot of GoogleNoise about the mail server of the same name.
推荐答案
经t表示类型或类型定义。你会看到很多POSIX头文件(及其他)与 time_t的
,为size_t
,及其他。这些其中容纳(不一定定义)特定位大小基于操作系统和计算机体系结构
The t stands for "type" or "typedef." You'll see a lot of POSIX headers (and others) with time_t
, size_t
, and others. These which hold (not necessarily defined) specific bit-sizes based on the operating system and machine architecture.
这篇关于什么后缀&QUOT; _t&QUOT;站立在C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!