[C-safe-secure-studygroup] *_t reserved?

Roberto Bagnara bagnara at cs.unipr.it
Thu Mar 23 06:40:28 UTC 2017


On 22/03/2017 20:39, Robert Seacord wrote:
> Just noticed on this page that *_t are reserved identifiers:
> 
> https://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
> 
> Presumably this is a POSIX requirement, because I've never seen this in C code before?

Yes, it is:

  http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html#tag_02_02_02

> I used to think using _t names for types was a good thing (TM).

Not if you want to claim POSIX compliance.

-- 
     Prof. Roberto Bagnara

Applied Formal Methods Laboratory - University of Parma, Italy
mailto:bagnara at cs.unipr.it
                              BUGSENG srl - http://bugseng.com
                              mailto:roberto.bagnara at bugseng.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2093 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.trustable.io/pipermail/c-safe-secure-studygroup/attachments/20170323/b41bdd55/attachment.bin>


More information about the C-safe-secure-studygroup mailing list