<?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$Detach</title><link>https://sourceforge.net/p/nitros9/wiki/I%2524Detach/</link><description>Recent changes to I$Detach</description><atom:link href="https://sourceforge.net/p/nitros9/wiki/I$Detach/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 27 Jun 2014 23:06:35 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nitros9/wiki/I$Detach/feed" rel="self" type="application/rss+xml"/><item><title>I$Detach modified by Lothan</title><link>https://sourceforge.net/p/nitros9/wiki/I%2524Detach/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Detach Device&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Removes a device from the system device table&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OS9 I$Detach 103F 81&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Entry Conditions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;U &lt;em&gt;address of the device table entry&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;The Detach Device call removes a device from both the system and the system device table, assuming the device is not being used by another process. You must use this call to detach devices attached using the Attach system call. Attach and Detach are both used mainly by the I/O manager. SCF also uses Attach and Detach to set up its second device (echo device). &lt;/li&gt;
&lt;li&gt;This is the sequence of the operation of Detach Device: &lt;ol&gt;
&lt;li&gt;Detach Device calls the device driver’s termination routine. Then, NitrOS-9 deallocates any memory assigned to the driver. &lt;/li&gt;
&lt;li&gt;NitrOS-9 unlinks the associated device driver and file manager modules. &lt;/li&gt;
&lt;li&gt;NitrOS-9 then removes the driver, as long as no other module is using that driver. &lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;IOMan&lt;/em&gt;&lt;/p&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:06:35 -0000</pubDate><guid>https://sourceforge.netb983a994723bc79f73fd1e05fcd5f6bdcd44ed0d</guid></item></channel></rss>