Slimelite BBS

File I/O

Back to R25C

From Matthew Probert · 1996-04-10 15:26 · #75273 in R25C

 -=> Quoting Bill Birrell to Matthew Probert <=-

 BB> Matthew,

 BB> The standard library still has both buffered and unbuffered file
 BB> I/O functions. You have mentioned only streams.

 BB> There are also creat(), commit(), dup(), open(), sopen(), tell(),
 BB> close(), lseek(), read(), write(), umask(), unlink(), access(),
 BB> chmod() eof() and stat(). These are low-level functions implemented in
 BB> the ROM support or in the
 BB> operating system, and some people have said they find them more
 BB> convenient than the buffered functions.

 BB> I have no preference, but for completeness perhaps your crash
 BB> course on file I/O ought to make some reference to them. The echo is
 BB> not ANSI only. 
 BB> Regards,
 BB> Bill.

Yes of course Bill. I am slowing getting around to mentioning 
everything, I have just released some information on DOS stream 
redirection etc. I shall also of course release a Servile Info Journal 
covering low level file I/O (handles) which are mainly used for different
purposes. I mean when doing database access, who in their right mind 
would use a stream? It is so much better to use handles and 
structures....

Regards

Matthew Probert
Servile Software

... Servile Software: 01256 478576
___ Blue Wave/QWK v2.12

--- WILDMAIL!/WC v4.12 
 * Origin: Ooh! BBS, London [MULTILINES]  0181-395-3108  (2:254/233.0)