博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Wallpaper (5)
阅读量:4169 次
发布时间:2019-05-26

本文共 410 字,大约阅读时间需要 1 分钟。

Wallpaper (5)

This blog is updated automatically by Java Writer 3.1.1

int fflush(FILE *stream)

对输出流来说,fflush函数将已写到缓冲区但尚未写入文件的所有数据写到文件中。对输入流来说,其结果是未定义的。如果在写的过程中发生错误,则返回 EOF,否则返回 0。fflush(NULL)将清洗所有的输出流。

int fclose(FILE *stream)

fclose 函数将所有未写入的数据写入stream 中,丢弃缓冲区中的所有未读输入数据,并释放自动分配的全部缓冲区,最后关闭流。若出错则返回 EOF,否则返回 0。

int remove(const char *filename)

remove 函数删除 filename指定的文件,这样,后续试图打开该文件的操作将失败。 如果删除操作失败,则返回一个非 0 值。

转载地址:http://ofwai.baihongyu.com/

你可能感兴趣的文章
python 寻找前5个默尼森数
查看>>
python2 type()函数 isinstance()函数
查看>>
python is 同一性运算符
查看>>
python basestring( )
查看>>
python 本地数据获取
查看>>
python write( )函数
查看>>
python read( )函数
查看>>
python readline()函数
查看>>
python readlines()函数
查看>>
python writelines()函数
查看>>
python 文件读写5个实例
查看>>
python 文件读写项目实践
查看>>
python的 os 和 shutil 模块
查看>>
python 如何反转序列
查看>>
python str.join()
查看>>
python 内置函数 reversed()
查看>>
python sort()方法
查看>>
python sorted()函数
查看>>
python reverse()方法
查看>>
Python sort( ) sorted( ) reverse( ) reversed( ) 总结
查看>>