access函数实例
时间:2010-12-24 来源:longmenyu
#include <stdio.h> //for printf |
obe-240 test/linuxc> gcc access.c
obe-240 test/linuxc> ls -l a.out
-rwxr-xr-x 1 eagle hitv 9808 2010-12-24 10:31 a.out
obe-240 test/linuxc> ./a.out a.out
read access OK
open for reading OK
obe-240 test/linuxc> ls -l /etc/shadow
-rw-r----- 1 root shadow 1361 2010-10-19 19:22 /etc/shadow
obe-240 test/linuxc> ./a.out /etc/shadow
access error for /etc/shadow
- 系统休眠文件删除后果 如何删除计算机的休眠文件 2025-04-22
- 站群服务器是什么意思 站群服务器的作用 站群服务器和普通服务器的区别 2025-04-22
- jQuery插件有何作用 jQuery插件的使用方法 2025-04-22
- jQuery插件有哪些种类 简单的jQuery插件实例 2025-04-22
-