diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-20 12:54:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-20 12:54:15 -0400 |
commit | ffa83efbb604ba2ed921e86bc6c837f6d605faa2 (patch) | |
tree | fc3cfe72923893af49e4652308e0a15a5ce60830 /src/bfstd.h | |
parent | 4a96b0d67d5d654ec1d5a3d447ceb07392fe87ec (diff) | |
download | bfs-ffa83efbb604ba2ed921e86bc6c837f6d605faa2.tar.xz |
Stop using %m
Diffstat (limited to 'src/bfstd.h')
-rw-r--r-- | src/bfstd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bfstd.h b/src/bfstd.h index d06bbd9..8055c55 100644 --- a/src/bfstd.h +++ b/src/bfstd.h @@ -248,6 +248,11 @@ char *xstpencpy(char *dest, char *end, const char *src, size_t n); const char *xstrerror(int errnum); /** + * Shorthand for xstrerror(errno). + */ +const char *errstr(void); + +/** * Format a mode like ls -l (e.g. -rw-r--r--). * * @param mode |