simio.h

来自「RTEMS (Real-Time Executive for Multiproc」· C头文件 代码 · 共 26 行

H
26
字号
/* *  C4x simulator IO interface routines based on code provided *  by Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * *  $Id: simio.h,v 1.1 2000/02/22 18:39:52 joel Exp $ */#ifndef __C4X_SIMIO_IFACE_h#define __C4X_SIMIO_IFACE_h#include <stdio.h>void sim_exit(void);int sim_open(const char *path, int flags, int fno);int sim_close(int fno);int sim_read(int fno, char *buf, unsigned count);int sim_write(int fno, const char *buf, unsigned count);fpos_t sim_lseek(int fno, fpos_t offset, int origin);int sim_unlink(const char *path);int sim_rename(const char *old, const char *new);char *sim_getenv(const char *str);int sim_gettime(void);int sim_getclock(void);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?