diff options
author | kvik <kvik@a-b.xyz> | 2020-09-20 14:49:12 +0200 |
---|---|---|
committer | kvik <kvik@a-b.xyz> | 2020-09-20 14:49:12 +0200 |
commit | aa7c8cac1145d0cd6e9117deaa1f8c9f418bca17 (patch) | |
tree | 46e284013e4eaf89b0a436e5a28d34f067c32492 /sys/include | |
parent | e3166b4fe83d12a29c265fe9a8f333369b35c663 (diff) |
syscall: utility overhaul
Following is a list of functional changes:
* The -o flag outputs the entire buffer to the length returned
by the syscall, or, in case of fd2path(2) and errstr(2), to '\0'.
* The -x flag is removed; the above makes it possible to pipe
into xd(1) to get the same result.
* The -s flag uses dirfmt(2) to format the stat message, instead
of trying to imitate ls(1).
* Stderr reports are normalized and made easier to parse.
The code also suffered a number of stylistic changes.
Diffstat (limited to 'sys/include')
0 files changed, 0 insertions, 0 deletions