view src/impl/ConsoleIO.h @ 347:ea5ee6e71a3b

add io interface
author anatofuz
date Mon, 02 Mar 2020 14:24:17 +0900
parents
children 1616cb02ecec
line wrap: on
line source

typedef struct ConsoleIO <Type, Isa> impl IO {
  __code consoleread1(Type* IO, int n, int target, char* dst, struct inode* ip, __code next(...));
  __code consoleread2(Type* IO, struct inode*  ip, __code next(...));
  __code next(....);
} ConsoleIO;