📄 fappend.txt
字号:
SUMMARY fappend
#include <tools.h>
char *fappend(pstrSrc, fhDest)
char *pstrSrc;
int fhDest;
DESCRIPTION
fappend does a fast append of source to destination.
RETURN VALUE
If successful returns NULL else returns a char pointer to the corresponding
test of the error. Also sets errno (see C library).
IMPLEMENTATION
SEE ALSO fcopy fdelete fexpunge
NOTE
EXAMPLE
#include <fcntl.h> /* to get O_RDWR */
#include <tools.h>
main(c, argv)
int c;
char *argv[];
{
int fhDest;
char *pstr;
/* use open from C library, stdio.h included by tools.h */
if ((fhDest = open("temp.hlp", O_RDWR)) != -1) {
if ((pstr = fappend("temp.xpl", fhDest)))
printf("Error: %s\n");
}
else
printf("Error: can't open destination\n");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -