Block a user
scrut(1)
: use <stdlib.h>
EXIT_
macros
Added
strerror(3)
as a Rust library
I'm glad you showed me the strerrror(3p) locale thing.
In person we discussed errno
being fine and the panic!
being technically unreachable - though I still believe 0 should be passed to…
Added
strerror(3)
as a Rust library
You should note somewhere that this can return an empty string in case of an error.
Added
strerror(3)
as a Rust library
Don't name things after implementation details because implementations change. errormessage
or emsg
or something would be better. emessage
? I don't know.
Tests
How should we do testing? I have a test.sh script I use for some of my own stuff - should we use that?
mm(1)
╭ emma@noire-carnation │ ~/src/TiB/bonsai/coreutils ╰─# build/bin/mm -i /dev/zero -o /dev/full free(): double free detected in tcache 2 zsh: IOT instruction …
ls(1p)
analogue
What if we did this:
- lf(1) is a shell script that streams given files to readdir(1) and then a sorting program.
- readdir(1) is a program that reads the file content of a directory from…