Commit Graph

15 Commits

Author SHA1 Message Date
FRIGN
e3b20bbda0 Refactor fallocate(1)
1) Simplify the manpage. Just refer to fallocate(2) and stop trying
   to list supported file systems. This can change and everbody
   with common sense can bring up the relevant manpages of a given
   operating system himself.
   Use the num-semantics.
2) Use estrtonum() instead of estrtol().
3) Allow multiple arguments.
2015-09-14 10:15:55 +01:00
FRIGN
b6669b5f19 Refactor chvt(1)
1) Properly implement arg.h.
2) Use estrtonum instead of estrtol.
3) Check close().
4) Small fixes.
5) Update manpage.
2015-09-07 11:47:10 +01:00
Hiltjo Posthuma
7f42fe77c3 strlcpy, strlcat: print program name, use for usage
... same as sbase libutil/strl{cat,cpy}.c. Fix comment in util.h
2015-05-10 13:41:23 +01:00
sin
d76319f838 Properly match (ttymaj, ttymin) pairs to tty names in /dev
For the common case where we have pts/ or tty do it straight
away.  Otherwise traverse /dev for a match.  This fixes ps(1) when
it is executed over a serial terminal with tty names like ttyAMA0.
2015-01-16 15:55:07 +00:00
sin
b03a021983 List function decls in alphabetical order 2014-06-30 18:42:49 +01:00
sin
6ea2b1aa53 Use estrtoul() in dd(1)
Allow specifications in hex and octal as well.
2014-06-04 13:13:00 +01:00
sin
550b655d98 Add ealloc.c with wrappers for emalloc() and friends
Re-organize util.h as well.
2014-04-30 13:11:57 +01:00
sin
1920516abf Add explicit_bzero() in util/ 2014-04-30 12:30:10 +01:00
sin
6df1301594 Add weprintf() 2014-03-12 14:23:19 +00:00
sin
a8e1ea1398 Guard against strlcpy()/strlcat() being implemented as macros 2014-02-10 13:16:42 +00:00
sin
899d589db0 Add watch(1) 2013-09-04 11:35:36 +01:00
sin
986e4981df No need to name the parameters in the function decls 2013-08-29 11:14:00 +01:00
sin
6a56bdf4ca Add primitive pidof(8) 2013-08-29 11:11:26 +01:00
sin
5df65ecfd4 Add barebones ps(1) 2013-08-15 16:50:48 +01:00
sin
987ec1ef09 Initial commit of ubase - the ugly/unportable base 2013-08-06 13:17:14 +01:00