summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorbluhm <>2019-12-11 20:01:50 +0000
committerbluhm <>2019-12-11 20:01:50 +0000
commitbe7e226cf1922696ae30c64b3eaacbbaa2f3a230 (patch)
treeddd8e29fdbe096028bb879a4872dc1d204c1a7aa /src/lib/libc
parent2e49837b2467a80b6ffa440cb2ae18318b4e5e02 (diff)
downloadopenbsd-be7e226cf1922696ae30c64b3eaacbbaa2f3a230.tar.gz
openbsd-be7e226cf1922696ae30c64b3eaacbbaa2f3a230.tar.bz2
openbsd-be7e226cf1922696ae30c64b3eaacbbaa2f3a230.zip
The file passed to realpath(3) must exists, adjust man page to new
behavior. noticed by hshoexer@; OK beck@
Diffstat (limited to 'src/lib/libc')
-rw-r--r--src/lib/libc/stdlib/realpath.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/realpath.3 b/src/lib/libc/stdlib/realpath.3
index 6ae3e484b4..51abd93652 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.24 2019/07/05 12:55:36 deraadt Exp $ 31.\" $OpenBSD: realpath.3,v 1.25 2019/12/11 20:01:50 bluhm Exp $
32.\" 32.\"
33.Dd $Mdocdate: July 5 2019 $ 33.Dd $Mdocdate: December 11 2019 $
34.Dt REALPATH 3 34.Dt REALPATH 3
35.Os 35.Os
36.Sh NAME 36.Sh NAME
@@ -68,7 +68,7 @@ The
68function will resolve both absolute and relative paths 68function will resolve both absolute and relative paths
69and return the absolute pathname corresponding to 69and return the absolute pathname corresponding to
70.Fa pathname . 70.Fa pathname .
71All but the last component of 71All components of
72.Fa pathname 72.Fa pathname
73must exist when 73must exist when
74.Fn realpath 74.Fn realpath