由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - what's the system call for get file num of a dir?
相关主题
请问怎么快速的判断一个文件是否存在in c, unixstats output of regress in matlab
how to use make file in Visual c++public and protected member in private inherit
请教如何通过FILE指针删除文件?c里面有什么函数可以
Help -- How to output error messages to a file for scripts called by system calls???请推荐一个subversion的stats工具
How to compile multiple c files into one obj file?谁能告诉为啥最后为啥输出两个C
error of opening a file located in a remote server from pyt (转载)*** help needed! on MATLAB GUI ***
关于shell script的一个问题how to find the date of today in UNIX?
How to know # of threads in an app?[转载] Unix/Posix system programming training
相关话题的讨论汇总
话题: dir话题: file话题: system话题: call话题: num
进入Programming版参与讨论
1 (共1页)
c*******i
发帖数: 2
1
【 以下文字转载自 Linux 讨论区 】
发信人: clairecai (claire), 信区: Linux
标 题: what's the system call for get file num of a dir?
发信站: BBS 未名空间站 (Mon Jan 14 00:05:22 2008), 转信
for unix,
and what's the system call to tell if it's a file or dir?
3x very much!
k****f
发帖数: 3794
2
access??

【在 c*******i 的大作中提到】
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: clairecai (claire), 信区: Linux
: 标 题: what's the system call for get file num of a dir?
: 发信站: BBS 未名空间站 (Mon Jan 14 00:05:22 2008), 转信
: for unix,
: and what's the system call to tell if it's a file or dir?
: 3x very much!

t*****g
发帖数: 1275
3
glob and stat can do. glob may not be the most efficient way though.

【在 c*******i 的大作中提到】
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: clairecai (claire), 信区: Linux
: 标 题: what's the system call for get file num of a dir?
: 发信站: BBS 未名空间站 (Mon Jan 14 00:05:22 2008), 转信
: for unix,
: and what's the system call to tell if it's a file or dir?
: 3x very much!

1 (共1页)
进入Programming版参与讨论
相关主题
[转载] Unix/Posix system programming trainingHow to compile multiple c files into one obj file?
isinf 问题error of opening a file located in a remote server from pyt (转载)
我心目中的编程高手关于shell script的一个问题
windows里有没有类似unix里nm 的东西?How to know # of threads in an app?
请问怎么快速的判断一个文件是否存在in c, unixstats output of regress in matlab
how to use make file in Visual c++public and protected member in private inherit
请教如何通过FILE指针删除文件?c里面有什么函数可以
Help -- How to output error messages to a file for scripts called by system calls???请推荐一个subversion的stats工具
相关话题的讨论汇总
话题: dir话题: file话题: system话题: call话题: num