.BI "int fchdir(int " fd );
.SH DESCRIPTION
.BR chdir ()
-changes the current directory to that specified in
+changes the current working directory to that specified in
.IR path .
.PP
.BR fchdir ()
are listed below:
.TP
.B EACCES
-Search permission is denied for one of the directories in the path prefix of
+Search permission is denied for one of the directories
+in the path prefix of
.IR path .
(See also
.BR path_resolution (2).)
.I fd
is not a valid file descriptor.
.SH NOTES
+A child process created via
+.BR fork (2)
+inherits its parent's current working directory.
+The current working directory is left unchanged by
+.BR execve (2).
+
The prototype for
.BR fchdir ()
is only available if
.SH "CONFORMING TO"
The
.BR chdir ()
-call is compatible with SVr4, SVID, POSIX, X/OPEN, 4.4BSD. SVr4 documents
+call is compatible with SVr4, SVID, POSIX, X/OPEN, 4.4BSD.
+SVr4 documents
additional EINTR, ENOLINK, and EMULTIHOP error conditions but has
no ENOMEM. POSIX.1 does not have ENOMEM or ELOOP error conditions.
X/OPEN does not have EFAULT, ENOMEM or EIO error conditions.