aboutsummaryrefslogtreecommitdiffstats
path: root/arg.h
AgeCommit message (Collapse)Author
2018-03-20don't modify argv, use a counterHiltjo Posthuma
on some platforms (OpenBSD) this changes the exposed argv in tools using the kvm_* interface, such as ps and pgrep.
2016-02-21arg.h: fixed argv checks orderLucas Gabriel Vuotto
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>
2015-11-08arg.h: remove unused macrosQuentin Rameau
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>
2013-12-18Update arg.h from sbaseRoberto E. Vargas Caballero
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.
2013-04-03Adopting arg.h with more flexible cmd handling.Christoph Lohmann