<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to I$Open</title><link>https://sourceforge.net/p/nitros9/wiki/I%2524Open/</link><description>Recent changes to I$Open</description><atom:link href="https://sourceforge.net/p/nitros9/wiki/I$Open/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 27 Jun 2014 23:20:11 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nitros9/wiki/I$Open/feed" rel="self" type="application/rss+xml"/><item><title>I$Open modified by Lothan</title><link>https://sourceforge.net/p/nitros9/wiki/I%2524Open/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Open Path&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Opens a path to an existing file or device as specified by the pathlist&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OS9 I$Open 103F 84&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Entry Conditions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A &lt;em&gt;access mode&lt;/em&gt; (D S PE PW PR E W R) &lt;/p&gt;
&lt;p&gt;X &lt;em&gt;address of the pathlist&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Exit Conditions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A &lt;em&gt;path number&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;X &lt;em&gt;address of the last byte of the pathlist + 1; skips any trailing blanks&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error Output&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;CC carry set on error &lt;/p&gt;
&lt;p&gt;B &lt;em&gt;error code&lt;/em&gt;, if any &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Additional Information&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;NitrOS-9 searches for the file in one of the following: &lt;ul&gt;
&lt;li&gt;The directory specified by the pathlist if the pathlist begins with a slash. &lt;/li&gt;
&lt;li&gt;The working data directory, if the pathlist does not begin with a slash. &lt;/li&gt;
&lt;li&gt;The working execution directory, if the pathlist does not begin with a slash and if the execution bit is set in the access mode. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;NitrOS-9 returns a path number for later system calls to use to identify the file. &lt;/li&gt;
&lt;li&gt;The access mode parameter lets you specify which read and/or write operations are to be permitted. When set, each access mode bit enables one of the following: Write, Read, Read and Write, Update, Directory I/O. &lt;/li&gt;
&lt;li&gt;The access mode must conform to the access permission attributes associated with the file or device. (See the Create system call.) Only the owner can access a file unless the appropriate public permission bits are set. &lt;/li&gt;
&lt;li&gt;The update mode might be slightly slower than the others because it might require pre-reading of sectors for random access of bytes within sectors. &lt;/li&gt;
&lt;li&gt;Several processes (users) can open files at the same time. Each device has an attribute that specifies whether or not it is shareable. &lt;/li&gt;
&lt;li&gt;If the single-user bit is set, the file opened for singer-user access regardless of the settings of the file’s permission bits. &lt;/li&gt;
&lt;li&gt;You must open directory files for read or write if the directory bit (Bit 7) is set in the access mode. &lt;/li&gt;
&lt;li&gt;Open Path always uses the lowest path number available for the process. &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lothan</dc:creator><pubDate>Fri, 27 Jun 2014 23:20:11 -0000</pubDate><guid>https://sourceforge.net2875feb821633fae7c2f482c0fab8a3c6bbff7cd</guid></item></channel></rss>