Slimelite BBS

File I/O

Back to R25C

From Bill Birrell · 1996-04-06 23:47 · #75242 in R25C

Matthew,

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

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

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

Regards,
Bill.

---
 * Origin: bill@escan.demon.co.uk (2:2504/200)