![]() | linkinfo说明int linkinfo ( string path )linkinfo() 返回 lstat 系统调用所返回的 UNIX C stat 结构中的 st_dev 字段。本函数用来验证一个连接(由 path 所指向的)是否确实存在(使用 stat.h 中的 S_ISLNK 宏同样的方法)。如果出错则返回 0 或 FALSE。
参见 symlink(),link() 和 readlink()。 ![]() There are no user contributed notes for this page. | ![]() | |