⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filesyst.h

📁 eC++编译器源码
💻 H
字号:
#pragma FileSystem
#include <SYSTEM.h>
typedef unsigned int File[51];
typedef enum {done, notdone, notsupported, callerror,
                   unknownmedium, unknownfile, paramerror,
                   toomanyfiles, eom, userdeverror} Response;
  void Lookup(File &f, char fileName[], boolean newFile);
  void Close(File &f);
  boolean GetEOF(File &f);
  Response GetResponse(File &f);
  void ReadNBytes(File &f, ADDRESS pBuf, unsigned int count, unsigned int &read);
  /*Lookup/ReadNBytes only can be used to read directories; count must be at least 256*/
  void WriteNBytes(File &f, ADDRESS pBuf, unsigned int count, unsigned int &written);
  void SetRead(File &f);
  void SetWrite(File &f);
  void SetModify(File &f);
  void SetPos(File &f, unsigned int high, unsigned int low);
  void GetPos(File &f, unsigned int &high, unsigned int &low);
  void Length(File &f, unsigned int &high, unsigned int &low);
  void SetLength(File &f, unsigned int high, unsigned int low);
  void Delete(char fileName[]);
  void Rename(char fileName[], char sourceFile[]);
  void GetAttribute(char fileName[], char &out[]);
  void SetAttribute(char fileName[], char in[]);
  void GetDirectory(char &out[]);   /*current directory*/
  void SetDirectory(char in[]);
  void Directory(char fileName[]);     /*create new directory; doesn't set current*/

⌨️ 快捷键说明

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