<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=RTOPEN-FILE</id>
	<title>RTOPEN-FILE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=RTOPEN-FILE"/>
	<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=RTOPEN-FILE&amp;action=history"/>
	<updated>2026-07-08T18:16:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.ndwiki.org/index.php?title=RTOPEN-FILE&amp;diff=4286&amp;oldid=prev</id>
		<title>Tingo: created RTOPEN-FILE page</title>
		<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=RTOPEN-FILE&amp;diff=4286&amp;oldid=prev"/>
		<updated>2017-08-17T11:42:25Z</updated>

		<summary type="html">&lt;p&gt;created RTOPEN-FILE page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; @RTOPEN-FILE &amp;lt;file name&amp;gt;, &amp;lt;access type&amp;gt;&lt;br /&gt;
Open a file for RT programs.&lt;br /&gt;
; &amp;lt;file name&amp;gt; : (default type = SYMB) file name.&lt;br /&gt;
; &amp;lt;access type&amp;gt; : specifies the intended [[access modes|access-mode]], only the following combinations are legal:&lt;br /&gt;
 R  - sequential read&lt;br /&gt;
 W  - sequential write&lt;br /&gt;
 RW - sequential read and write&lt;br /&gt;
 RX - random read&lt;br /&gt;
 WX - random read and write&lt;br /&gt;
 WA - sequential write append&lt;br /&gt;
 RC - random read with read and write access from other users allowed (only contiguous files)&lt;br /&gt;
 WC - random read and write with read and write access from other users allowed (only contiguous files)&lt;br /&gt;
&lt;br /&gt;
Rules:&lt;br /&gt;
#Permitted only for users RT and SYSTEM.&lt;br /&gt;
#Access to files in RT programs is as user RT.&lt;br /&gt;
#RT opened files cannot be set permanently open.&lt;br /&gt;
#See rules 2 - 6 of @[[OPEN-FILE]].&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 @RTOPEN-FILE F-1, RW&lt;br /&gt;
 FILE NUMBER IS: 100&lt;br /&gt;
&lt;br /&gt;
The file F-1:SYMB is opened for read and write access for all RT programs. The file number is 100 (octal)&lt;br /&gt;
== Related commands ==&lt;br /&gt;
@[[CLOSE-FILE]]&lt;br /&gt;
&lt;br /&gt;
@[[OPEN-FILE]]&lt;br /&gt;
&lt;br /&gt;
@[[RTCLOSE-FILE]]&lt;br /&gt;
&lt;br /&gt;
@[[RTCONNECT-FILE]]&lt;br /&gt;
&lt;br /&gt;
[[OPEN (monitor call)]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{ND-doc|60.128.03}} (printed February 1983), page 1-177&lt;br /&gt;
&lt;br /&gt;
{{ND-doc|60.174.Q01}}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]] [[Category:Real-Time Commands]]&lt;/div&gt;</summary>
		<author><name>Tingo</name></author>
	</entry>
</feed>