bsd man page for chdir

Query: chdir

OS: bsd

Section: 3f

Links: bsd man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CHDIR(3F)																 CHDIR(3F)

NAME
chdir - change default directory
SYNOPSIS
integer function chdir (dirname) character*(*) dirname
DESCRIPTION
The default directory for creating and locating files will be changed to dirname. Zero is returned if successful; an error code otherwise.
FILES
/usr/lib/libU77.a
SEE ALSO
chdir(2), cd(1), perror(3F)
BUGS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>. Use of this function may cause inquire by unit to fail. 4.2 Berkeley Distribution May 15, 1985 CHDIR(3F)
Related Man Pages
chdir(2) - opendarwin
fchdir(2) - mojave
dirname(3c) - opensolaris
chdir(2) - suse
fchdir(2) - opendarwin
Similar Topics in the Unix Linux Community
Could not chdir to home directory
Could not chdir to home directory
implementing mkdir, chdir, mv, pwd inside a shell !
Could not chdir to home directory
Could not chdir to home directory : I/O error