diff options
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 |