从上面的输出中可以看到,err_sys函数打印一条消息(“Permission denied(许可权拒绝) ” 或“Not a directory(不是一个目录) ” ) , 说明遇到了什么类型的错误。 这两个出错处理函数在以后的培训中说明, 1.
基于4个网页-相关网页
ENOTDIR Not a directory 不是一个目录
This ensures that recovered files can be put into a spare directory, and not the live location.
这样可以确保将恢复的文件放到备用的目录,而不是运行中的某个位置。
The search mechanism works by creating an index in a directory that's not Web-accessible.
这个搜索机制通过在一个不能通过网络访问的目录下创建索引来运行。
A dot file is a convenient place to keep options and Settings, because (per UNIX heritage) file names that begin with a dot do not appear in a standard directory listing.
点文件是保存选项和设置的理想位置,因为(根据UNIX传统)以一个圆点开始的文件名不会出现在标准的目录清单中。
Because I know this program was saved by default into my current folder, my current directory, so dot slash means run the program called a.out that's right here in my current directory not in, like, a out my applications folder or somewhere else.
程序默认保存在,当前目录下的文件夹,/意味着运行这个名为“a,out“的文件,是我当前目录下的文件,而不是应用程序文件夹或其他别的地方的。
应用推荐