<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[esxDOS BBS — Allowed to open a file for reading and writing?]]></title>
	<link rel="self" href="https://board.esxdos.org/extern.php?action=feed&amp;tid=93&amp;type=atom" />
	<updated>2017-08-02T06:49:16Z</updated>
	<generator>PunBB</generator>
	<id>https://board.esxdos.org/viewtopic.php?id=93</id>
		<entry>
			<title type="html"><![CDATA[Allowed to open a file for reading and writing?]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=291#p291" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Is it allowed to open a file for both reading and writing?&nbsp; What I&#039;d like to do is use the same file pointer for read and write access.</p><p>I&#039;m doing this:</p><p>fin = esxdos_f_open(argv[1],ESXDOS_MODE_R|ESXDOS_MODE_W|ESXDOS_MODE_OE);</p><p>which amounts to a call to f_open with mode flag 0x03.&nbsp; The emulator (ZEsarUX) is coming up with error 6: I/O ERROR.&nbsp; I have no real hardware to test this on so I&#039;m not sure if this is an emulator problem or not.</p>]]></content>
			<author>
				<name><![CDATA[Alcoholics Anonymous]]></name>
				<uri>https://board.esxdos.org/profile.php?id=181</uri>
			</author>
			<updated>2017-08-02T06:49:16Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=291#p291</id>
		</entry>
</feed>
