Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Why have xxx_t typedef names (was Re: Is typedef char BUFFER[20] legal?) Message-ID: <1991Jan31.172147.21397@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1212@tredysvr.Tredydev.Unisys.COM> <1991Jan29.210100.8105@zoo.toronto.edu> Date: Thu, 31 Jan 1991 17:21:47 GMT In article bevan@cs.man.ac.uk (Stephen J Bevan) writes: >What is the purpose of the "_t" ... etc. postfixes ? >It obviously makes any variables defined by a typedef'd type very >clear, but is that important? I think not. The purpose is the same as the convention of using uppercase for macro names: to give the poor programmer a little bit more help in figuring out what's going on, and to minimize namespace collisions. -- If the Space Shuttle was the answer, | Henry Spencer at U of Toronto Zoology what was the question? | henry@zoo.toronto.edu utzoo!henry