?? diskmgr.h
字號:
// DISKMGR.H - DiskMgr Class Header
#ifndef DISKMGR_H
#define DISKMGR_H
#include <io.h>
#include <share.h>
#define IM_OK 0
#define IM_ERROR (-1)
const caReadWrite = 0;
const caNoCache = 1;
class DiskMgr
{
private:
int m_nType;
void flush(int x);
//long aaja; // No Use
//long aaka; // No Use
//int aala; // No Use
//int aama; // No Use
public:
DiskMgr(int ctype = caReadWrite);
~DiskMgr(void);
int open(const char *path, int access);
int close(int handle);
int read(int handle, void *buf, long start, unsigned len);
int write(int handle, void *buf, long start, unsigned len);
long seek(int fd, long offset);
//void unlock(int handle);
//void lock(int handle, long start, long length);
//void lockfile(int handle);
//void unlock_head(int handle);
//void lock_head(int handle);
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -