aboutsummaryrefslogtreecommitdiff
path: root/unix/os/doc/zfchdr.hlp
blob: 08b6c4ca7b2189f64198e6ea091c63754f90cfeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.help zfchdr May84 "System Interface"
.ih
NAME
zfchdr -- change the current working directory
.ih
SYNOPSIS
.nf
zfchdr (new_directory, status)

packed	char new_directory[]		# osfn of new directory
int	status
.fi
.ih
DESCRIPTION
The current working directory is changed to the directory specified
by the packed OS pathname given as the first argument.
.ih
RETURN VALUE
ERR is returned if the new directory does not exist or cannot be accessed.
OK is returned if the operation is successful.
.ih
NOTES
On a host system with a flat directory structure the kernel will have to map
the hierarchical directory structure assumed by IRAF onto the linear directory
structure provided by the host.
.ih
SEE ALSO
zfpath, zopdir, zgfdir, zfsubd
.endhelp