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)NAMEchdir - change default directorySYNOPSISinteger function chdir (dirname) character*(*) dirnameDESCRIPTIONThe 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.aSEE ALSOchdir(2), cd(1), perror(3F)BUGSPathnames 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)