~sircmpwn/ctools

ref: bb5007143abfc22d947c422bfade941e2a741c8c ctools/src d---------
cmp: fix bugs, add conformance tests
cksum: add conformance test, fix bug
Add initial test suite
bc6c5b9b — Adrian Perez de Castro 2 years ago
Implement logname

Implementation of the getlogin(3) function tend to be terrible in
C libraries, but the POSIX standard requires that logname uses it.
35f7a1b5 — Adrian Perez de Castro 2 years ago
Implement link
d5ecc71c — Adrian Perez de Castro 2 years ago
Implement tty
all: swap usage strings for usage functions
nice: no-op on non-XSI systems

The C library function is an XSI extension but apparently they command
is not!
bf7328dd — Adrian Perez de Castro 2 years ago
Implement nice
cmp: use shared error message
cksum: add error handling for open
Change usage strings again

Because it wasn't good enough for Simon
basename: allow basename -- [...]
Implement unlink

Calling getopt is necessary:

> Standard utilities that do not accept options, but that do accept operands,
> shall recognize "--" as a first argument to be discarded.
Add optional XSI support
Implement cmp
Implement cksum
chown, chgrp: fix usage string
chown: implement via chgrp.c
Next