由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - link between file descriptor & pointer?
相关主题
simple simple questionRe: how to close port/socket from parent process?help!!!!!!!!!
Question on file descriptor[转载] windows C++ -> Unix C++
file descriptorwhat is the differnece between const char * and..
A question about thread of unixWhat is different between awk and nawk?
[转载] why need dup?XView error:NULL pointer passed to xv_set
fileIDgcc问题
什么命令可以查看sockets端口的占用情况?(null)thx一个计算机学术网站
[转载] using ssh in tcsh script 有哪位大虾有littleos的文章,偶很着急要,多谢了.
相关话题的讨论汇总
话题: descriptor话题: pointer话题: file
进入Unix版参与讨论
1 (共1页)
a***u
发帖数: 14
1
那位大虾讲述一下file descriptor 和 file pointer 的联系,有什么function可以使两
者互相转换?谢谢!
m*****e
发帖数: 4193
2

fd = fileno(fp);
no way to convert back.

【在 a***u 的大作中提到】
: 那位大虾讲述一下file descriptor 和 file pointer 的联系,有什么function可以使两
: 者互相转换?谢谢!

1 (共1页)
进入Unix版参与讨论
相关主题
有哪位大虾有littleos的文章,偶很着急要,多谢了.[转载] why need dup?
哪位大虾给偶讲讲socket?fileID
哪位大虾知道如何unix下删除非空目录?什么命令可以查看sockets端口的占用情况?(null)thx
大虾救命[转载] using ssh in tcsh script
simple simple questionRe: how to close port/socket from parent process?help!!!!!!!!!
Question on file descriptor[转载] windows C++ -> Unix C++
file descriptorwhat is the differnece between const char * and..
A question about thread of unixWhat is different between awk and nawk?
相关话题的讨论汇总
话题: descriptor话题: pointer话题: file