Added fchdir() system call, with corresponding manpage, Changelog and

system include modifications.
This commit is contained in:
Ben Gras
2005-06-29 19:28:26 +00:00
parent 62f7f9e6d2
commit af27dc0cf7
8 changed files with 47 additions and 5 deletions
+5 -1
View File
@@ -7,18 +7,22 @@
.TH CHDIR 2 "August 26, 1985"
.UC 4
.SH NAME
chdir \- change current working directory
chdir, fchdir \- change current working directory
.SH SYNOPSIS
.nf
.ft B
#include <unistd.h>
int chdir(const char *\fIpath\fP)
int fchdir(int \fIfd\fP)
.ft R
.fi
.SH DESCRIPTION
.I Path
is the pathname of a directory.
.I Fd
is the file descriptor of a directory.
.B Chdir
causes this directory
to become the current working directory,