CHDIR(OC)
Shore Programmer's Manual - 2 August 96
NAME
chdir \- change working directory
SYNOPSIS
#include <ShoreApp.h>
shrc Shore::chdir(const char *path);
DESCRIPTION
Chdir
changes the process' current working directory to the directory given by
`path.'
Shore applications have two notions of "working directory:"
the Shore working directory and the Unix working directory.
This method changes the former, leaving the latter unchanged.
The later can be changed with
chdir(2).
The pathname of the (Shore) current working directory can be retrieved with
getcwd(oc)
.
Changing to a directory required inspecting the directory's
access bits, which in turn, acquires a short-term share lock (SH-mode)
on the directory.
VERSION
This manual page applies to Version 1.0 of theShore software.
SPONSORSHIP
The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-92-C-Q508.
COPYRIGHT
Copyright (c) 1994, 1995, 1996 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.SEE ALSO
chdir(2),
getcwd(oc)
.