Commit Graph

21 Commits

Author SHA1 Message Date
sin 82c99b16a7 Be consistent and use #ifdef instead of #if 2014-03-28 16:00:43 +00:00
sin 21e708abd4 Prefix error/warning messages with program name if DEBUG is defined 2014-03-28 15:56:02 +00:00
sin 552a5ae4b5 Don't prefix messages with the tool name by default 2014-03-12 14:39:42 +00:00
sin 6df1301594 Add weprintf() 2014-03-12 14:23:19 +00:00
sin 3f98a7abc8 Convert mount(8) to mntent and kill grabmntinfo.[ch] 2014-02-24 13:44:15 +00:00
Hiltjo Posthuma c5f17bd3dc remove some signed / unsigned type warnings
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-02-14 14:11:37 +00:00
sin 892d84ca24 Return an error if we can't open the files in /proc 2014-02-13 12:28:46 +00:00
sin a8e1ea1398 Guard against strlcpy()/strlcat() being implemented as macros 2014-02-10 13:16:42 +00:00
sin 1de3e6c679 Always print the program name 2014-02-10 12:34:34 +00:00
sin 7f7c3f29e9 Don't use 'tty/' rather use 'tty' 2013-09-06 10:29:00 +01:00
sin 899d589db0 Add watch(1) 2013-09-04 11:35:36 +01:00
sin 6a56bdf4ca Add primitive pidof(8) 2013-08-29 11:11:26 +01:00
sin 42b640fa21 Rename validps() to pidfile() 2013-08-16 16:42:59 +01:00
sin e33f5bed23 Add parsestatus() 2013-08-16 16:36:52 +01:00
sin 9480f70121 Add comment for proc{euid,uid}() 2013-08-16 14:47:03 +01:00
sin e84531958e Support -f for ps(1)
Fix missing break in tty.c as well.
2013-08-16 14:41:42 +01:00
sin 5df65ecfd4 Add barebones ps(1) 2013-08-15 16:50:48 +01:00
sin 97cbad7eef Remove OpenBSD support
This is becoming a nightmare.  Just support Linux.
2013-08-14 14:40:47 +01:00
sin a770b91e62 Revert "Remove comment in eprintf.c"
This is actually useful when debugging ubase.
2013-08-12 11:03:53 +01:00
sin 63678c3235 Remove comment in eprintf.c
We do not prefix with the program name.
2013-08-09 15:54:44 +01:00
sin 987ec1ef09 Initial commit of ubase - the ugly/unportable base 2013-08-06 13:17:14 +01:00