aboutsummaryrefslogtreecommitdiffstats
path: root/arg.h
Commit message (Collapse)AuthorAgeFilesLines
* don't modify argv, use a counterHiltjo Posthuma2018-03-201-10/+12
| | | | | on some platforms (OpenBSD) this changes the exposed argv in tools using the kvm_* interface, such as ps and pgrep.
* arg.h: fixed argv checks orderLucas Gabriel Vuotto2016-02-211-2/+2
| | | | | | | This prevents accessing to a potentially out-of-bounds memory section. Signed-off-by: Lucas Gabriel Vuotto <l.vuotto92@gmail.com> Signed-off-by: Christoph Lohmann <20h@r-36.net>
* arg.h: remove unused macrosQuentin Rameau2015-11-081-15/+0
| | | | | | | ARGUM isn't used and ARGNUMF uses estrtol() that isn't defined anywhere. Those were probably copied from sbase arg.h. Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Update arg.h from sbaseRoberto E. Vargas Caballero2013-12-181-20/+28
| | | | | | sbase did some interesting modifications to arg.h (basically it was fixed an incorrect use of the _ namespace), and this commit take this last version for st.
* Adopting arg.h with more flexible cmd handling.Christoph Lohmann2013-04-031-0/+55
remember that computers suck.