Commit Graph

8 Commits

Author SHA1 Message Date
sin 651dbdd700 Rename __ARG_H__ to ARG_H__
__* is reserved so do not use it.
2013-11-25 21:29:20 +00:00
sin 3b3dffd24f _brk, _argc and _argv are reserved for the implementation
Thanks to nsz@port70.net for reporting this, the mail excerpt below.

"actually __.* and _[A-Z].* are reserved for any usage and _.* is
reserved for file scope identifiers"

We just rename them to brk_, argc_ and argv_.
2013-11-14 10:44:56 +00:00
sin 7add068ade Rename `brk' to `_brk' to avoid polluting the namespace 2013-11-12 10:18:18 +00:00
dsp 3f9e501f6b Add ARGNUM and ARGNUMF(base)
This is useful to support the obsolete syntax -NUM for tools like
head, tail and fold.
2013-11-12 10:17:52 +00:00
sin c55948ba91 No need to use USED() in arg.h for sbase
Tested on Linux and OpenBSD (with gcc and pcc).
2013-11-07 10:06:12 +00:00
Christoph Lohmann c9aac796c8 Fixing the ARG macros and adding nice.
Thanks "Galos, David" <galosd83@students.rowan.edu>!
2013-05-29 20:52:39 +02:00
Connor Lane Smith 146cca114e new ARGBEGIN & usage() function 2012-05-14 21:28:41 +01:00
Christoph Lohmann f75d7a47ff Adding ARGBEGIN for basename. 2012-04-23 15:50:47 +02:00