Created
August 3, 2019 21:02
-
-
Save heronyang/eded16413480b2a5f40b6d8df1ad913c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The UNIX operating system requires that every IO device driver provide five | |
// standard functions: open, close, read, write, seek. | |
struct FILE { | |
void (*open)(char *name, int mode); | |
void (*close)(); | |
int (*read)(); | |
void (*write)(char); | |
void (*seek)(long index, int mode); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment