Path: utzoo!mnetor!uunet!husc6!think!ames!pacbell!att-ih!ihnp4!bentley!cox From: cox@bentley.UUCP (MH Cox) Newsgroups: comp.lang.c Subject: Safe to use *_t typedefs? Message-ID: <1086@bentley.UUCP> Date: 15 Mar 88 23:51:06 GMT Reply-To: cox@bentley.UUCP (59463-MH Cox) Organization: AT&T Bell Laboratories, Liberty Corner Lines: 20 Keywords: ANSI C, typedef, *_t types Summary: Is it safe to use *_t typedefs (could clash with future ANSI types)? I need some advice, preferrably from some one on the ANSI committee (are you listenin' Gwyn?). The proposed ANSI standard C has produced a lot of new data types: size_t, time_t, etc. I was starting to adopt their "_t" convention for my own data types, when I suddenly realized (excuse me, if this is obvious to everyone else :-) I might be headed for a type clash with a future ANSI C typedef. Did the ANSI C committe intend to reserve all typedefs of the form *_t for their own use? Should I avoid typedefs of this form in my applications? -- ========================================================================== Michael H. Cox ARPA: moss!bentley!cox@rutgers.edu AT&T Bell Labs UUCP: don't know (can anyone help?) 184 Liberty Corner Road Rm 3B-Q15 Warren, NJ 07060 (201) 580-8622 ==========================================================================