Browse Source

The file passed to realpath(3) must exists, adjust man page to new

behavior.
noticed by hshoexer@; OK beck@
OPENBSD_6_7
bluhm 4 years ago
parent
commit
9bf208a942
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libc/stdlib/realpath.3

+ 3
- 3
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.24 2019/07/05 12:55:36 deraadt Exp $
.\" $OpenBSD: realpath.3,v 1.25 2019/12/11 20:01:50 bluhm Exp $
.\" .\"
.Dd $Mdocdate: July 5 2019 $
.Dd $Mdocdate: December 11 2019 $
.Dt REALPATH 3 .Dt REALPATH 3
.Os .Os
.Sh NAME .Sh NAME
@ -68,7 +68,7 @@ The
function will resolve both absolute and relative paths function will resolve both absolute and relative paths
and return the absolute pathname corresponding to and return the absolute pathname corresponding to
.Fa pathname . .Fa pathname .
All but the last component of
All components of
.Fa pathname .Fa pathname
must exist when must exist when
.Fn realpath .Fn realpath


Loading…
Cancel
Save