Commit Graph

18 Commits

Author SHA1 Message Date
cgd 00f68ab5c7 add include of stdlib.h, for use of setprogname() & getprogname() 2001-02-21 00:04:43 +00:00
cgd 2c1f7a6ee8 nuke __progname, suggest setprogname() and getprogname() 2001-02-19 22:46:47 +00:00
enami 04235cdc87 Fix typos. 2000-09-06 14:12:45 +00:00
lukem dc53b5b17e - fix spelo
- be consistent with #define<TAB> for macros
2000-09-04 08:01:16 +00:00
lukem 6243e0b38d add example on how to printf 64 bit quantities 2000-03-10 12:46:30 +00:00
lukem aa6dfe707c fix comment around CONSTCOND 2000-03-10 12:01:15 +00:00
lukem d56d7ced69 major overhaul:
* require ANSI not K&R for prototypes, stdargs, etc
* document current practice for
	- rcsids & copyright
	- header file inclusion protection
	- expressions, and multi-statement macros
	- enum & struct decls
	- empty and large statements
	- wrapping long lines, prototypes, function decls
2000-03-02 08:51:54 +00:00
abs cd59a419b6 Fix error in example - from VaX#n8 <vax@linkdead.paranoia.com> 1999-07-03 21:47:21 +00:00
scottr c9b4ff15c2 Add a pointer to the indent(1) profile, and a disclaimer regarding same. 1999-01-29 07:24:20 +00:00
lukem 5bd0869181 provide a better parenthesis example. from Brian Grayson in [misc/6714] 1999-01-20 23:13:54 +00:00
simonb 2a571c069b Function type declarations are manatory now. 1998-09-01 06:51:09 +00:00
enami 85da38999e Make C sentense end with `;'. 1998-02-09 06:58:39 +00:00
thorpej 7faf595cd3 RCS id police. Side effect: shows the RCS id style we prefer :-) 1996-08-30 17:43:09 +00:00
scottr 755cc6f914 getopt() returns -1 when the arg list is exhausted, not EOF. Ironic
that it should show up here...
1996-03-31 04:58:32 +00:00
briggs 6598f884fb Minor grammatical nit: "have too" -> "have to." 1995-04-10 22:28:18 +00:00
cgd 3d5d33d3c1 s/externs.h/extern.h/ 1994-12-19 14:14:40 +00:00
cgd c9621c279c style guide 1994-03-26 03:24:50 +00:00
cgd 8f94dcc594 overall source code style guide. it is king. revere it. 1993-08-06 07:30:52 +00:00