File input/output: Difference between revisions
Content added Content deleted
(→[[C]]: rm <highlightSyntax> tags) |
(→[[C]]: rm note about not closing files - this has been fixed, rephrased, added note about using POSIX calls not included in ANSI C) |
||
Line 112:
don't need.
The following example addresses those issues. To avoid buffered IO, it uses ''open()'', ''read()'', ''write()'' and ''close()'', which are part of [[POSIX]], but not defined of [[ANSI C]].
#include <stdio.h>
#include <unistd.h>
|