SCCS-vsn: lib/libc/sys/chdir.2 6.6
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)chdir.2 6.5 (Berkeley) %G%
+.\" @(#)chdir.2 6.6 (Berkeley) %G%
will fail and the current working directory will be unchanged if
one or more of the following are true:
.TP 15
will fail and the current working directory will be unchanged if
one or more of the following are true:
.TP 15
+[EACCES]
+Search permission is denied for the directory referenced by the
+file descriptor.
+.TP 15
[ENOTDIR]
The file descriptor does not reference a directory.
.TP 15
EBADF
[ENOTDIR]
The file descriptor does not reference a directory.
.TP 15
EBADF
-is not a valid open file descriptor.
+is not a valid file descriptor.