fdelete.txt
来自「dos 1.0 其中包含quick basic源代码、内存管理himem emm」· 文本 代码 · 共 41 行
TXT
41 行
SUMMARY fdelete
#include <tools.h>
int fdelete(pstrFile)
char *pstrFile;
DESCRIPTION
fdelete deletes a file by indexing it into a separate directory, DELETED,
and then renaming the file into that directory.
RETURN VALUE
0 if successful.
1 if source file did not exist.
2 if source was read-only or if the rename failed.
3 if the index was not accessible.
IMPLEMENTATION
SEE ALSO Commands: rm exp undel
NOTE
EXAMPLE
#include <tools.h>
main(c, argv)
int c;
char *argv[];
{
int i;
if ((i = fdelete("temp.hlp")))
printf("Error: %d\n");
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?