COMPILATION LISTING OF SEGMENT set_mdir_account Compiled by: Multics PL/I Compiler, Release 27d, of October 11, 1982 Compiled at: Honeywell LISD Phoenix, System M Compiled on: 11/04/82 1640.1 mst Thu Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* * Copyright (c) 1972 by Massachusetts Institute of * 6* * Technology and Honeywell Information Systems, Inc. * 7* * * 8* *********************************************************** */ 9 10 11 /* SET_MDIR_ACCOUNT: Command to change the quota account of a master directory */ 12 13 /* Written March 1976 by Larry Johnson */ 14 15 set_mdir_account: smda: proc; 16 17 dcl code fixed bin (35); /* System status code */ 18 dcl name char (16) int static options (constant) init ("set_mdir_account"); 19 dcl arg_ptr ptr; 20 dcl arg_len fixed bin; 21 dcl arg char (arg_len) based (arg_ptr); 22 dcl dir char (168); 23 dcl ename char (32); 24 dcl account char (32); 25 26 dcl ioa_ entry options (variable); 27 dcl com_err_ entry options (variable); 28 dcl mdc_$set_mdir_account entry (char (*), char (*), char (*), fixed bin (35)); 29 dcl expand_path_ entry (ptr, fixed bin, ptr, ptr, fixed bin (35)); 30 dcl cu_$arg_ptr entry (fixed bin, ptr, fixed bin, fixed bin (35)); 31 32 dcl (addr) builtin; 33 34 call cu_$arg_ptr (1, arg_ptr, arg_len, code); /* Get path */ 35 if code ^= 0 then do; 36 call ioa_ ("Usage: ^a path -account-", name); 37 return; 38 end; 39 call expand_path_ (arg_ptr, arg_len, addr (dir), addr (ename), code); 40 if code ^= 0 then do; 41 call com_err_ (code, name, "^a", arg); 42 return; 43 end; 44 45 call cu_$arg_ptr (2, arg_ptr, arg_len, code); /* New account */ 46 if code ^= 0 then account = ""; /* Standard default */ 47 else account = arg; 48 49 call mdc_$set_mdir_account (dir, ename, account, code); 50 if code ^= 0 then call com_err_ (code, name); 51 return; 52 53 end set_mdir_account; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/04/82 1613.1 set_mdir_account.pl1 >dumps>old>recomp>set_mdir_account.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. account 000167 automatic char(32) unaligned dcl 24 set ref 46* 47* 49* addr builtin function dcl 32 ref 39 39 39 39 arg based char unaligned dcl 21 set ref 41* 47 arg_len 000104 automatic fixed bin(17,0) dcl 20 set ref 34* 39* 41 41 45* 47 arg_ptr 000102 automatic pointer dcl 19 set ref 34* 39* 41 45* 47 code 000100 automatic fixed bin(35,0) dcl 17 set ref 34* 35 39* 40 41* 45* 46 49* 50 50* com_err_ 000012 constant entry external dcl 27 ref 41 50 cu_$arg_ptr 000020 constant entry external dcl 30 ref 34 45 dir 000105 automatic char(168) unaligned dcl 22 set ref 39 39 49* ename 000157 automatic char(32) unaligned dcl 23 set ref 39 39 49* expand_path_ 000016 constant entry external dcl 29 ref 39 ioa_ 000010 constant entry external dcl 26 ref 36 mdc_$set_mdir_account 000014 constant entry external dcl 28 ref 49 name 000000 constant char(16) initial unaligned dcl 18 set ref 36* 41* 50* NAMES DECLARED BY EXPLICIT CONTEXT. set_mdir_account 000031 constant entry external dcl 15 smda 000022 constant entry external dcl 15 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 346 370 255 356 Length 544 255 22 140 70 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME smda 184 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME smda 000100 code smda 000102 arg_ptr smda 000104 arg_len smda 000105 dir smda 000157 ename smda 000167 account smda THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out_desc call_ext_out return ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. com_err_ cu_$arg_ptr expand_path_ ioa_ mdc_$set_mdir_account NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 15 000021 34 000036 35 000054 36 000056 37 000076 39 000077 40 000122 41 000124 42 000156 45 000157 46 000176 47 000204 49 000211 50 000235 51 000254 ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved