APUE Chapter 4 - Files and Directories

摘要: 4.1. Introduction4.2. stat, fstat, and lstat Function#include <sys/stat.h>int stat(const char *restrict pathname, struct stat *restrict buf);int fstat(int filedes, struct stat *buf);int lstat(const char *restrict pathname, struct stat *restrict buf);Given a pathname, the stat function returns 阅读全文
posted @ 2011-12-06 13:45 s7vens 阅读(375) 评论(0) 推荐(0)