This is a proposal to leverage errno more and propagate errors back to the user with the classic err() and warn() family of BSD functions. They format error/warn messages as: "progname: your formatted string: %s", your args, strerror(errno), thus providing a consistent error or warning style to the program.
Note: this patch overlaps overlaps with the previous segfault patch submitted earlier.
This is a proposal to leverage errno more and propagate errors back to the user with the classic
err()
andwarn()
family of BSD functions. They format error/warn messages as:"progname: your formatted string: %s", your args, strerror(errno)
, thus providing a consistent error or warning style to the program.Note: this patch overlaps overlaps with the previous segfault patch submitted earlier.