summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chdir.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/chdir.2')
-rw-r--r--lib/libc/sys/chdir.214
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/sys/chdir.2 b/lib/libc/sys/chdir.2
index 0b06fa8..215d759 100644
--- a/lib/libc/sys/chdir.2
+++ b/lib/libc/sys/chdir.2
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)chdir.2 8.2 (Berkeley) 12/11/93
+.\" $Id$
.\"
.Dd December 11, 1993
.Dt CHDIR 2
@@ -82,8 +83,6 @@ one or more of the following are true:
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
-.It Bq Er EINVAL
-The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
@@ -118,10 +117,15 @@ is not a valid file descriptor.
.Sh SEE ALSO
.Xr chroot 2
.Sh STANDARDS
-.Fn Chdir
-is expected to conform to IEEE Std 1003.1-1988
-.Pq Dq Tn POSIX .
+The
+.Fn chdir
+function call is expected to conform to
+.St -p1003.1-90 .
.Sh HISTORY
+A
+.Fn chdir
+function call appeared in
+.At v7 .
The
.Fn fchdir
function call
OpenPOWER on IntegriCloud