1 07/17/81  get_wdir_
 2 
 3 
 4 Entry points in get_wdir_:
 5    (List is generated by the help command)
 6 
 7 
 8 :Entry: get_wdir_: 06/12/81  get_wdir_
 9 
10 Function: The get_wdir_ function returns the absolute pathname of the
11 user's current working directory.  For a discussion of working
12 directories, see "System Directories" in Section III of the MPM
13 Reference Guide.
14 
15 
16 Syntax:
17 declare get_wdir_ entry returns (character (168));
18 declare working_dir character (168);
19 working_dir = get_wdir_ ();
20 
21 
22 Arguments:
23 working_dir
24    contains the absolute pathname of the user's current working
25    directory.  (Output)
26 
27 
28 Notes: Working directories are per-ring.  If get_wdir_ is invoked in a
29 ring for which a working directory has never been set, it will use the
30 sub_err_ mechanism to signal an error.  See the MPM Subsystem Writer's
31 Guide for more information on sub_err_, and the MPM Reference guide
32 for more information on ring protection.  The sub_err_ action code
33 given is "h".