Copyright (c) 1983 The Regents of the University of California.
All rights reserved.
%sccs.include.proprietary.roff%
@(#)chdir.3 6.2 (Berkeley) 04/30/91
All rights reserved.
%sccs.include.proprietary.roff%
@(#)chdir.3 6.2 (Berkeley) 04/30/91
CHDIR 3F ""
C 5 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
"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.