释义 |
1 ?给出一个文件或符号连接的信息 ...-深入Ngi... linkinfo — 获取一个连接的信息 lstat — 给出一个文件或符号连接的信息 mkdir — 新建目录 ... 2 ?生命支持与运送系统 美军装备的创伤伤员生命支持与运送系统(life support for trauma and transport,LSTAT),该系统在科索沃维和行动中使用,效果满意。由美军高级 研究项目局研制,以担架、担架基座和防护罩组成。 3 ?创伤伤员生命支持与运送系统 美军装备的创伤伤员生命支持与运送系统(life support for trauma and transport,LSTAT),该系统在科索沃维和行动中使用,效果满意。由美军高级 研究项目局研制,以担架、担架基座和防护罩组成。
- 1
Because symbolic links get special treatment, use the lstat function here. 因为符号链接需要特殊的处理,所以这里使用了lstat函数。 - 2
If you want to be able to detect symbolic links as well, use lstat on a file name. 如果您想能够检测出符号链接,那么可以对文件名使用lstat 。 - 3
Now that you have a the entry name of the directory, you need to construct a more complete path (see Listing 5), and then call lstat to get the entry's information. 既然已经得到了目录的条目名称,那么您需要构造一个更加完整的路径(请参见清单5),然后调用lstat以获取该条目的相关信息。
|