diff options
| author | jmc <> | 2019-06-30 17:31:39 +0000 |
|---|---|---|
| committer | jmc <> | 2019-06-30 17:31:39 +0000 |
| commit | eced022daed46bed98040232dc1e89ce17f32e27 (patch) | |
| tree | ca00e0208e4f89a97f364964647c763a9ff95e43 /src/lib/libc | |
| parent | e97f226db81290b058661b505d48eb52b267a26f (diff) | |
| download | openbsd-eced022daed46bed98040232dc1e89ce17f32e27.tar.gz openbsd-eced022daed46bed98040232dc1e89ce17f32e27.tar.bz2 openbsd-eced022daed46bed98040232dc1e89ce17f32e27.zip | |
tweak previous; ok guenther
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/stdlib/realpath.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/realpath.3 b/src/lib/libc/stdlib/realpath.3 index e485fa792d..f4be5ff31a 100644 --- a/src/lib/libc/stdlib/realpath.3 +++ b/src/lib/libc/stdlib/realpath.3 | |||
| @@ -28,9 +28,9 @@ | |||
| 28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 29 | .\" SUCH DAMAGE. | 29 | .\" SUCH DAMAGE. |
| 30 | .\" | 30 | .\" |
| 31 | .\" $OpenBSD: realpath.3,v 1.22 2019/06/29 21:21:27 guenther Exp $ | 31 | .\" $OpenBSD: realpath.3,v 1.23 2019/06/30 17:31:39 jmc Exp $ |
| 32 | .\" | 32 | .\" |
| 33 | .Dd $Mdocdate: June 29 2019 $ | 33 | .Dd $Mdocdate: June 30 2019 $ |
| 34 | .Dt REALPATH 3 | 34 | .Dt REALPATH 3 |
| 35 | .Os | 35 | .Os |
| 36 | .Sh NAME | 36 | .Sh NAME |
| @@ -150,14 +150,15 @@ function call first appeared in | |||
| 150 | .Pp | 150 | .Pp |
| 151 | In | 151 | In |
| 152 | .Ox 6.6 , | 152 | .Ox 6.6 , |
| 153 | it was reimplemented on top of a | 153 | it was reimplemented on top of the |
| 154 | .Fn __realpath | 154 | .Fn __realpath |
| 155 | system call whose calling convention differs from the standard | 155 | system call. |
| 156 | Its calling convention differed from the standard | ||
| 156 | function by requiring | 157 | function by requiring |
| 157 | .Ar resolved | 158 | .Ar resolved |
| 158 | to not be | 159 | to not be |
| 159 | .Dv NULL | 160 | .Dv NULL |
| 160 | and by returning an integer, | 161 | and by returning an integer, |
| 161 | zero on success and \-1 with corresponding errno on failure. | 162 | zero on success, and -1 with corresponding errno on failure. |
| 162 | This is visible in the output of | 163 | This is visible in the output of |
| 163 | .Xr kdump 1 . | 164 | .Xr kdump 1 . |
