开发者

Meaning of _t postfix of sigset_t, time_t [duplicate]

This question already has answers here: Closed 11 years ago.

Po开发者_高级运维ssible Duplicate:

What does a type followed by _t (underscore-t) represent?

I have seen many data structures in Linux environment have post-fix of '_t'.

Is there a specific meaning for it?


It's an abbreviation for "type".


The 't' stands for 'type'. POSIX and possibly also C99 reserve all names ending in '_t' for implementation-defined typedefs. Despite this, many libraries use such names for their own user-exposed types (I suppose such libraries could be considered part of the implementation, if you wish to look at it that way).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜