Browse Source

tweak previous; ok guenther

OPENBSD_6_6
jmc 5 years ago
parent
commit
ae687bf577
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      src/lib/libc/stdlib/realpath.3

+ 6
- 5
src/lib/libc/stdlib/realpath.3 View File

@ -28,9 +28,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: realpath.3,v 1.22 2019/06/29 21:21:27 guenther Exp $
.\" $OpenBSD: realpath.3,v 1.23 2019/06/30 17:31:39 jmc Exp $
.\" .\"
.Dd $Mdocdate: June 29 2019 $
.Dd $Mdocdate: June 30 2019 $
.Dt REALPATH 3 .Dt REALPATH 3
.Os .Os
.Sh NAME .Sh NAME
@ -150,14 +150,15 @@ function call first appeared in
.Pp .Pp
In In
.Ox 6.6 , .Ox 6.6 ,
it was reimplemented on top of a
it was reimplemented on top of the
.Fn __realpath .Fn __realpath
system call whose calling convention differs from the standard
system call.
Its calling convention differed from the standard
function by requiring function by requiring
.Ar resolved .Ar resolved
to not be to not be
.Dv NULL .Dv NULL
and by returning an integer, and by returning an integer,
zero on success and \-1 with corresponding errno on failure.
zero on success, and -1 with corresponding errno on failure.
This is visible in the output of This is visible in the output of
.Xr kdump 1 . .Xr kdump 1 .

Loading…
Cancel
Save