Christoph Lohmann
015fb69f01
Add LNGARG() to sbase.
2015-07-10 16:45:52 +02:00
sin
b66c44b24e
ARGNUMF() only works on base 10 as it uses strtonum underneath
2015-01-30 16:45:44 +00:00
FRIGN
fd562481f3
Convert estrto{l, ul} to estrtonum
...
Enough with this insanity!
2015-01-30 16:52:44 +01:00
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