tac0S
Template Affectional Command Operating System
|
Data structures for opening, closing, reading and writing. More...
Go to the source code of this file.
Classes | |
struct | tuple |
tuple Structure that allow multi-seek on one Openfile More... | |
class | OpenFile |
Typedefs | |
typedef struct tuple | tuple_t |
tuple Structure that allow multi-seek on one Openfile | |
Data structures for opening, closing, reading and writing.
There are two implementations. One is a "STUB" that directly turns the file operations into the underlying UNIX operations. (cf. comment in filesys.h).
The other is the "real" implementation, that turns these operations into read and write disk sector requests. In this baseline implementation of the file system, we don't worry about concurrent accesses to the file system by different threads – this is part of the assignment.
Copyright (c) 1992-1993 The Regents of the University of California. All rights reserved. See copyright.h for copyright notice and limitation of liability and disclaimer of warranty provisions.