1 03/16/75  get_access_
 2 
 3 Syntax:
 4      declare get_access_ entry (char(*),  bit(*),  bit(2),  fixed
 5           bin(35));
 6 
 7      call get_access_ (path, mode, type, code);
 8 
 9 
10 Function:
11 This routine is used to get the effective access to a segment or
12 directory without needing to interface directly with hcs_$status_.
13 
14 
15 Arguments:
16 path
17    is the relative path name of a segment or directory whose mode
18    is to be determined.  (Input)
19 mode
20    is the user's effective access to the segment or directory.
21    (Output)
22 type
23    an indicator of what kind of branch was found.  "01"b indicates
24    a segment, "10"b indicates a directory.  (Output)
25 code
26    is a standard system status code. (Output)
27 
28 
29 Notes:
30      While a length of three  bits  for  "mode"  is  adequate  at
31 present,  it  is  suggested that a full 36 bits be provided.  The
32 mode string returned  by  this  routine  can  be  interpreted  by
33 cv_acl_  or  cv_dir_acl_  with  a  little  work;  the  get_access
34 command/active function provides a character interpretation.