loadfile.h

来自「具有IDE功能的编辑器」· C头文件 代码 · 共 14 行

H
14
字号
#ifndef LOAD_FILE_H#define LOAD_FILE_H/* Loads a file into memory *//* Returns the size if the file in filelen and a pointer to the actual file   which must be free'd. Returns NULL on error. *//* The returned data is terminated by a null character.*/char *loadfile (const char *filename, long *filelen);/* save a file, returns 0 on success, -1 on error: errno set for open or write */int savefile (const char *filename, const char *data, int len, int permissions);#endif

⌨️ 快捷键说明

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