COMPILATION LISTING OF SEGMENT mrds_dsm_close Compiled by: Multics PL/I Compiler, Release 28e, of February 14, 1985 Compiled at: Honeywell Multics Op. - System M Compiled on: 04/18/85 1018.0 mst Thu Options: optimize map 1 /* *********************************************************** 2* * * 3* * * 4* * Copyright, (C) Honeywell Information Systems Inc., 1981 * 5* * * 6* * * 7* *********************************************************** */ 8 9 /* ****************************************************** 10* * * 11* * * 12* * Copyright (c) 1972 by Massachusetts Institute of * 13* * Technology and Honeywell Information Systems, Inc. * 14* * * 15* * * 16* ****************************************************** */ 17 18 mrds_dsm_close: proc (iocb_ptr, code); 19 20 /* 21* The close_dsm module has two entry points for closing and 22* detaching data submodels. The first, close, closes detaches and 23* destroyes the iocb and returns any errors. The second entry 24* point, force, closes detaches and destroyes the iocb with out 25* returning any error codes. 26* 27* Known Bugs: 28* 29* Other Problems: 30* 31* HISTORY 32* 33* 75-11-?? Lackey: written. 34* 35* 81-02-02 Davids: added the call to iox_$destroy_iocb. 36**/ 37 38 /* PARAMETERS */ 39 40 dcl iocb_ptr ptr; /* (input) pointer to the iocb */ 41 dcl code fixed bin (35); /* (output) error code */ 42 43 /* AUTOMATIC */ 44 45 dcl a_code fixed bin (35); /* internal error code */ 46 47 /* BUILTINS */ 48 49 dcl null builtin; 50 51 /* ENTRIES */ 52 53 dcl iox_$close entry (ptr, fixed bin (35)); 54 dcl iox_$destroy_iocb entry (ptr, fixed bin (35)); 55 dcl iox_$detach_iocb entry (ptr, fixed bin (35)); 56 57 /* EXTERNAL */ 58 59 dcl error_table_$badcall fixed bin (35) external static; 60 61 62 63 64 65 if iocb_ptr ^= null () 66 then do; 67 call iox_$close (iocb_ptr, code); 68 if code = 0 69 then do; 70 call iox_$detach_iocb (iocb_ptr, code); 71 if code = 0 72 then call iox_$destroy_iocb (iocb_ptr, code); 73 end; 74 end; 75 else code = error_table_$badcall; 76 77 return; 78 79 force: entry (iocb_ptr); 80 81 if iocb_ptr ^= null () 82 then do; 83 call iox_$close (iocb_ptr, a_code); 84 call iox_$detach_iocb (iocb_ptr, a_code); 85 call iox_$destroy_iocb (iocb_ptr, a_code); 86 end; 87 88 return; 89 90 end /* mrds_dsm_close */; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 04/18/85 0906.6 mrds_dsm_close.pl1 >special_ldd>online>mrds.pbf-04/18/85>mrds_dsm_close.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. a_code 000100 automatic fixed bin(35,0) dcl 45 set ref 83* 84* 85* code parameter fixed bin(35,0) dcl 41 set ref 18 67* 68 70* 71 71* 75* error_table_$badcall 000016 external static fixed bin(35,0) dcl 59 ref 75 iocb_ptr parameter pointer dcl 40 set ref 18 65 67* 70* 71* 79 81 83* 84* 85* iox_$close 000010 constant entry external dcl 53 ref 67 83 iox_$destroy_iocb 000012 constant entry external dcl 54 ref 71 85 iox_$detach_iocb 000014 constant entry external dcl 55 ref 70 84 null builtin function dcl 49 ref 65 81 NAMES DECLARED BY EXPLICIT CONTEXT. force 000071 constant entry external dcl 79 mrds_dsm_close 000010 constant entry external dcl 18 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 230 250 141 240 Length 426 141 20 142 67 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME mrds_dsm_close 72 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME mrds_dsm_close 000100 a_code mrds_dsm_close THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. iox_$close iox_$destroy_iocb iox_$detach_iocb THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. error_table_$badcall LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 18 000004 65 000015 67 000022 68 000032 70 000035 71 000046 74 000062 75 000063 77 000065 79 000066 81 000076 83 000103 84 000114 85 000126 88 000140 ----------------------------------------------------------- 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