Mirror of Suckless' ubase (git://git.suckless.org/ubase)
Go to file
Hiltjo Posthuma 780fd613eb truncate: match coreutils truncate behaviour
improvements:
- when truncate on a file failed proceed with the rest.
- when truncate on a file failed exit with EXIT_FAILURE.

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-02-14 14:11:09 +00:00
util Return an error if we can't open the files in /proc 2014-02-13 12:28:46 +00:00
arg.h Rename __ARG_H__ to ARG_H__ 2013-11-25 21:33:58 +00:00
chvt.1 Add chvt(1) 2013-08-15 16:50:51 +01:00
chvt.c Be consistent and use *argv[] 2013-10-07 20:41:30 +01:00
clear.1 Rename manpages to match the proper section 2013-10-17 14:00:21 +03:00
clear.c clear, watch: use 0x1b instead of non-standard \e 2014-02-14 14:10:53 +00:00
config.def.h Use config.def.h 2014-02-09 12:30:22 +00:00
config.mk Bump to C99 for ubase 2013-10-18 10:07:33 +01:00
ctrlaltdel.c Add ctrlaltdel tool 2014-02-07 16:38:53 +00:00
df.1 Rename manpages to match the proper section 2013-10-17 14:00:21 +03:00
df.c Free minfo table 2014-01-25 22:34:30 +00:00
dmesg.c Remove unused header from dmesg(1) 2014-01-25 22:31:31 +00:00
eject.1 Rename manpages to match the proper section 2013-10-17 14:00:21 +03:00
eject.c exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
fallocate.c exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
free.c exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
getty.c Print hostname as well in getty 2014-02-11 11:29:31 +00:00
grabmntinfo.h Free minfo table 2014-01-25 22:34:30 +00:00
halt.8 Rename manpages to match the proper section 2013-10-17 14:00:21 +03:00
halt.c exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
insmod.c Use calloc() instead of malloc() + memset() 2014-02-10 19:29:41 +00:00
LICENSE Add Carlos J. Torres to LICENSE 2014-02-09 11:09:04 +00:00
lsmod.8 Rename manpages to match the proper section 2013-10-17 14:00:21 +03:00
lsmod.c exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
lsusb.8 Rename manpages to match the proper section 2013-10-17 14:00:21 +03:00
lsusb.c lsusb: initialize variables to 0, fix type warning 2014-02-14 14:11:00 +00:00
Makefile su is after stat 2014-02-10 15:50:11 +00:00
mknod.1 mknod(1) is now in ubase not sbase so update manpage 2014-01-30 16:24:10 +00:00
mknod.c Import mknod(1) from sbase 2014-01-28 16:52:37 +00:00
mkswap.c Check for a valid pagesize in mkswap(8) 2013-10-29 15:55:59 +00:00
mount.c mount: siz variable can potentially be used uninitialized 2014-02-14 14:10:45 +00:00
mountpoint.c Free minfo table 2014-01-25 22:34:30 +00:00
pagesize.c A pagesize of 0 is invalid so treat it that way 2013-10-29 15:44:58 +00:00
pidof.c Return an error if we can't open the files in /proc 2014-02-13 12:28:46 +00:00
pivot_root.c exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
proc.h Rename validps() to pidfile() 2013-08-16 16:42:59 +01:00
ps.c Return an error if we can't open the files in /proc 2014-02-13 12:28:46 +00:00
README Update README 2013-10-14 13:29:08 +01:00
reboot.h Make ubase compile with musl-gcc 2013-08-19 16:34:18 +01:00
rmmod.c exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
stat.1 Import stat(1) from sbase 2014-01-30 16:24:03 +00:00
stat.c Import stat(1) from sbase 2014-01-30 16:24:03 +00:00
su.c Setup a sane PATH across su(1) 2013-10-19 19:11:14 +01:00
swapoff.c disable all swap devices 2014-02-09 11:08:39 +00:00
swapon.c prefer swap device option 2014-02-09 11:08:53 +00:00
TODO Add initial version of getty 2014-02-10 12:15:58 +00:00
truncate.c truncate: match coreutils truncate behaviour 2014-02-14 14:11:09 +00:00
umount.c Do not terminate early on a umount failure 2013-10-07 19:18:38 +01:00
unshare.c exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
uptime.c Use utmpx instead of utmp 2013-10-08 16:49:40 +01:00
util.h Guard against strlcpy()/strlcat() being implemented as macros 2014-02-10 13:16:42 +00:00
watch.c clear, watch: use 0x1b instead of non-standard \e 2014-02-14 14:10:53 +00:00

ubase is a set of tools similar to util-linux to complement sbase[1].

Build a statically linked version of sbase-box with musl:

  make CC=musl-gcc LDFLAGS=-static ubase-box

[1] http://git.suckless.org/sbase