LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3422|回复: 3

在C语言中要用到write和read函数要用到什么头文件?

[复制链接]
发表于 2002-11-18 15:40:07 | 显示全部楼层 |阅读模式
在C语言中要用到write和read函数要用到什么头文件
发表于 2002-11-18 15:55:12 | 显示全部楼层
Well, strictly speaking, read() and write() are _not_ stantard library functions.  So its usage platform dependent.

Anyway, on Linux platform,
#include <unistd.h>
should do the work.
 楼主| 发表于 2002-11-18 15:58:15 | 显示全部楼层
谢谢!
发表于 2002-11-19 09:01:45 | 显示全部楼层
sys/types.h
sys/stat.h
fcntl.h
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表