diff options
author | midipix <writeonce@midipix.org> | 2019-09-02 23:03:01 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-09-02 23:03:01 +0000 |
commit | 1509ed4180fa4f8808a918bd7ce8a74c1d94a91b (patch) | |
tree | b36d0bf2900f9a4c19a33af9ce5987ef44416c40 /include/sys | |
parent | b85b1f5d35413312c08e7670dd4db67b7e088d91 (diff) | |
download | mmglue-1509ed4180fa4f8808a918bd7ce8a74c1d94a91b.tar.bz2 mmglue-1509ed4180fa4f8808a918bd7ce8a74c1d94a91b.tar.xz |
glue layer: __fs_{r|a|n|d}path() interfaces: use errno to indicate the error.
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/fs.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/sys/fs.h b/include/sys/fs.h index f0dd33b..efc1466 100644 --- a/include/sys/fs.h +++ b/include/sys/fs.h @@ -29,10 +29,8 @@ extern "C" { /* buflen: size of buffer, including null termination. */ /* */ /* return value: */ -/* zero upon successful resolution and buffer initialization */ -/* negative value returned upon failure, which is the actual value */ -/* returned by the underlying system call; accordingly, errno */ -/* is _not_ set by any of the above interfaces. */ +/* zero upon successful resolution and buffer initialization; */ +/* otherwise, -1 shall be returned and errno set to indicate the error. */ /* */ /* implementation: */ /* the above interfaces are async-safe, thread-safe, and re-entrant. */ |