4.3BSD-UWisc/man/cat3/chdir.3f




CHDIR(3F)           UNIX Programmer's Manual            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 _d_i_r_n_a_m_e. 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
     <_s_y_s/_p_a_r_a_m._h>.

     Use of this function may cause inquire by unit to fail.
































Printed 12/27/86          May 15, 1985                          1