![kueller](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_cc65@4236 504e572c-2e33-0410-9681-be2bf7408885
50 lines
1.4 KiB
HTML
50 lines
1.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
|
|
<TITLE>Apple ][ specific information for cc65: Limitations</TITLE>
|
|
<LINK HREF="apple2-7.html" REL=next>
|
|
<LINK HREF="apple2-5.html" REL=previous>
|
|
<LINK HREF="apple2.html#toc6" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="apple2-7.html">Next</A>
|
|
<A HREF="apple2-5.html">Previous</A>
|
|
<A HREF="apple2.html#toc6">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="limitations"></A> <A NAME="s6">6.</A> <A HREF="apple2.html#toc6">Limitations</A></H2>
|
|
|
|
|
|
|
|
<H2><A NAME="ss6.1">6.1</A> <A HREF="apple2.html#toc6.1">Disk I/O</A>
|
|
</H2>
|
|
|
|
|
|
<P>The existing library for the Apple ][ doesn't implement C file
|
|
I/O. There are two hacks for the <CODE>read()</CODE> and <CODE>write()</CODE> routines in
|
|
place, which will make functions work that read from or write to <CODE>stdout</CODE>
|
|
(like <CODE>printf()</CODE>). However, these functions have some shortcomings which
|
|
won't be fixed, because they're going to be replaced anyway.</P>
|
|
<P>To be more concrete, this limitation means that you cannot use any of the
|
|
following functions (and a few others):</P>
|
|
<P>
|
|
<UL>
|
|
<LI>fclose</LI>
|
|
<LI>fopen</LI>
|
|
<LI>fread</LI>
|
|
<LI>fprintf</LI>
|
|
<LI>fputc</LI>
|
|
<LI>fscanf</LI>
|
|
<LI>fwrite</LI>
|
|
<LI>...</LI>
|
|
</UL>
|
|
</P>
|
|
|
|
|
|
<HR>
|
|
<A HREF="apple2-7.html">Next</A>
|
|
<A HREF="apple2-5.html">Previous</A>
|
|
<A HREF="apple2.html#toc6">Contents</A>
|
|
</BODY>
|
|
</HTML>
|