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

📄 fappend.txt

📁 [随书类]Dos6.0源代码
💻 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 + -