view src/interface/File.h @ 88:f38d8d39d617

add file interface
author tobaru
date Wed, 16 Oct 2019 19:40:37 +0900
parents
children
line wrap: on
line source

typedef struct File<Type, Impl>{
        union Data* file;
        struct file *f;
        int n;
        char *p;
        __code file_read(__code, next(...));
        __code next(...);
} File;