Date: Thu, 5 Dec 1996 19:14:25 +0200 (IST) From: Eli Zaretskii To: "A.Appleyard" cc: DJGPP AT delorie DOT com Subject: Re: v2 funnies In-Reply-To: <1119426E71@fs2.mt.umist.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sorry, I forgot to append the test program. Here: #include #include #include int main (void) { char fn[] = "opentst.dat"; int fd = open (fn, O_RDWR | O_CREAT); if (fd < 0) perror (fn); write (fd, "Hello, world!\n", 14); close (fd); return 0; }