年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- Alsmile
- robotmen
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- zhangdaiscott
- 解宜然
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- 淡看人生
- ranbuijj
- gdpglc
- ssydxa219
- wallimn
- vipbooks
- hanbaohong
- jickcai
- johnsmith9th
- javashop
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- AVI
- java-007
- laiyangdeli
- lyongq04
- xpenxpen
- liunancun
- 龙哥IT
- nychen2000
- conkeyn
- lyndon.lin
- panshunchang
- ouanui
最新文章列表
Linux C的一些常用函数
[/align]打开一个文件,向文件里写入数据的函数如下:void saverebootflag(void){
FILE *fprebootflag;
char rebootflagtext[1024] = {“”};
strcat(rebootflagtext,”TEST”);
fprebootflag = fopen(“/root/rebootflag.txt”,”w”);
...
基本IO函数的使用(open,write,read)(一)
首先感谢作者的工作,谢谢了,转到这里都是我需要过的
=>#include <fcntl.h> =>/usr/include/bits/fcntl.h ,里面有
/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
located on an ext2 file system ...