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

📄 snipfile.h

📁 C语言库函数的源代码,是C语言学习参考的好文档。
💻 H
字号:
/* +++Date last modified: 05-Jul-1997 */

/*
**  Header file for portable file functions
*/

#ifndef SNIPFILE__H
#define SNIPFILE__H

#include <stdio.h>
#include "sniptype.h"

#define flushall() fflush(NULL)

long   flength(char *fname);                          /* Ansiflen.C     */
FILE * cant(char *fname, char *fmode);                /* Ferrorf.C      */
int    fcompare(const char *fnam1, const char *fnam2);/* Fcompare.C     */
long   fcopy(char *dest, char *source);               /* Fcopy.C        */
long   ffsearch(FILE *fp, const char *pattern,
             const size_t size, int N);               /* Srchfile.C     */
long   rfsearch(FILE *fp, const char *pattern,
             const size_t size, int N);               /* Srchfile.C     */
void   show_text_file(char *txt);                     /* Textmod.C      */
int    file_copy(char *from, char *to);               /* Wb_Fcopy.C     */
int    fdcopy(int fdfrom, int fdto);                  /* Wb_Fcopy.C     */
int    file_append(char *from, char *to);             /* Wb_Fapnd.C     */

Boolean_T exists(char *name);                         /* Existsx.C      */
char     *dexists(char *name, char *envar);           /* Existsx.C      */
char     *pexists(char *name);                        /* Existsx.C      */
char     *gexists(char *name, char *envar);           /* Existsx.C      */
FILE     *fopenp(char *name, char *mode);             /* Fopenx.C       */
FILE     *fopend(char *name, char *mode, char *envar);/* Fopenx.C       */
FILE     *fopeng(char *name, char *mode, char *envar);/* Fopenx.C       */


#endif /* SNIPFILE__H */

⌨️ 快捷键说明

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