文件名称:write
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 牛**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
该程序是在linux下执行,首先创建一个文件,然后对此文件进行读写操作。接着,写入“Hello,I m writing to this file!”,此时文件指针位于文件尾部。接着再使用lseek函数将文件指针移到文件开始处,并读出10个字节并将其打印出来。-The program is run under linux, first of all to create a document, and then read and write operations on this file. Then, write " Hello, I' m writing to this file!" , At this time a document file pointer is located in the rear. Lseek function and then use the file pointer to the beginning of a document, and read out 10 bytes and print them out.
相关搜索: file
(系统自动生成,下载前可以参看下载内容)
下载文件列表
write.c