.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)chdir.3f 6.1 (Berkeley) 5/15/85
.TH CHDIR 3F "May 15, 1985"
chdir \- change default directory
.B integer function chdir (dirname)
The default directory for creating and locating files will be
Zero is returned if successful; an error code otherwise.
.ie \nM /usr/ucb/lib/libU77.a
chdir(2), cd(1), perror(3F)
Pathnames can be no longer than MAXPATHLEN as defined in
Use of this function may cause