赞
踩
stat(status,状态)库,用于获取文件或目录的状态信息,如文件大小、创建时间、修改时间等,以及提供了对系统文件和目录进行操作的接口。
struct stat { dev_t st_dev; /* ID of device containing file */