
enum OpenMode (
    READ,
    READ_WRITE,
    CREATE,
    APPEND
);

define fileHandle;

define fileSize;

enum SeekOrigin (
    SEEK_SET,
    SEEK_CUR,
    SEEK_END
);

define seek;    // seek(file, offset, whence)
                   // seek(file, offset)

overload seek(file, offset) = seek(file, offset, SEEK_SET);


define terminal?;
