Copyright (c) 1983, 1993
The Regents of the University of California. All rights reserved.
%sccs.include.proprietary.roff%
@(#)chdir.3 8.1 (Berkeley) 06/05/93
The Regents of the University of California. All rights reserved.
%sccs.include.proprietary.roff%
@(#)chdir.3 8.1 (Berkeley) 06/05/93
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.