Searched refs:R_OK (Results 1 - 25 of 86) sorted by relevance

1234

/freebsd-10-stable/contrib/ntp/lib/isc/win32/
H A Dunistd.h54 #ifndef R_OK
55 #define R_OK 4 macro
/freebsd-10-stable/tools/regression/security/access/
H A Dtestaccess.c219 error = access("test1", R_OK);
226 error = eaccess("test1", R_OK);
248 error = access("test2", R_OK);
256 error = eaccess("test3", R_OK);
264 error = access("test3", R_OK);
272 error = eaccess("test2", R_OK);
302 error = access("test4", R_OK);
308 error = eaccess("test4", R_OK);
316 error = access("test5", R_OK);
324 error = eaccess("test6", R_OK);
[all...]
/freebsd-10-stable/contrib/binutils/libiberty/
H A Dmake-temp-file.c36 #include <sys/file.h> /* May get R_OK, etc. on some systems. */
39 #ifndef R_OK
40 #define R_OK 4 macro
72 && access (dir, R_OK | W_OK | X_OK) == 0)
H A Dmake-relative-prefix.c66 #ifndef R_OK
67 #define R_OK 4 macro
/freebsd-10-stable/contrib/gcclibs/libiberty/
H A Dmake-temp-file.c36 #include <sys/file.h> /* May get R_OK, etc. on some systems. */
39 #ifndef R_OK
40 #define R_OK 4 macro
72 && access (dir, R_OK | W_OK | X_OK) == 0)
H A Dmake-relative-prefix.c66 #ifndef R_OK
67 #define R_OK 4 macro
/freebsd-10-stable/contrib/gcc/config/i386/
H A Dxm-djgpp.h63 else if (access (djgpp, R_OK) == 0) \
/freebsd-10-stable/contrib/ncurses/progs/
H A Dprogs.priv.h142 #ifndef R_OK
143 #define R_OK 4 /* Test for readable. */ macro
H A Dtoe.c92 if (_nc_is_dir_path(path) && access(path, R_OK | X_OK) == 0) {
97 if (_nc_is_file_path(path) && access(path, R_OK) == 0) {
104 if (_nc_is_file_path(path) && access(path, R_OK) == 0) {
107 if (_nc_is_file_path(filename) && access(filename, R_OK) == 0) {
/freebsd-10-stable/contrib/tzcode/zic/
H A Dprivate.h85 #include "unistd.h" /* for F_OK and R_OK, and other POSIX goodness */
91 #ifndef R_OK
92 #define R_OK 4 macro
93 #endif /* !defined R_OK */
/freebsd-10-stable/contrib/tzcode/stdtime/
H A Dprivate.h125 #include "unistd.h" /* for F_OK, R_OK, and other POSIX goodness */
132 #ifndef R_OK
133 #define R_OK 4 macro
134 #endif /* !defined R_OK */
/freebsd-10-stable/sbin/ddb/
H A Dddb.c129 if (argc == 2 && argv[1][0] == '/' && access(argv[1], R_OK) == 0)
/freebsd-10-stable/contrib/ntp/sntp/libopts/
H A Dtime.c99 if (access(envptr+8, R_OK) != 0)
/freebsd-10-stable/sys/sys/
H A Dunistd.h103 #define R_OK 0x04 /* test for read permission */ macro
/freebsd-10-stable/contrib/ncurses/ncurses/tinfo/
H A Daccess.c125 return access(head, R_OK | W_OK | X_OK);
H A Dread_termcap.c322 } else if ((_nc_access(db_array[current], R_OK) < 0)
899 if (_nc_access(temp, R_OK) == 0) {
929 && _nc_access(path, R_OK) == 0) {
1100 if (_nc_access(termpaths[i], R_OK) == 0
/freebsd-10-stable/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_server.c104 if (access(buf, R_OK) == -1) {
/freebsd-10-stable/contrib/libreadline/examples/rlfe/
H A Dpty.c300 if (eff_uid && access(TtyName, R_OK | W_OK))
359 if (eff_uid && access(TtyName, R_OK | W_OK))
/freebsd-10-stable/contrib/ncurses/ncurses/base/
H A Dlib_screen.c150 if (_nc_access(file, R_OK) < 0
191 if (_nc_access(file, R_OK) < 0
/freebsd-10-stable/contrib/texinfo/makeinfo/
H A Dmakeinfo.c3284 if (access (fullname, R_OK) != 0)
3293 if (access (fullname, R_OK) != 0)
3301 if (access (fullname, R_OK) != 0) {
3306 if (access (fullname, R_OK) != 0) {
3308 if (access (fullname, R_OK) != 0) {
3321 if (pathname == NULL && access (fullname, R_OK) != 0)
3327 if (pathname != NULL && access (pathname, R_OK) != 0)
3390 || access (fullname, R_OK) == 0
3391 || (pathname != NULL && access (pathname, R_OK) == 0))
3403 && access (fullname, R_OK)
[all...]
/freebsd-10-stable/usr.bin/tip/tip/
H A Dremote.c95 (host[0] == '/' && access(DV = host, R_OK | W_OK) == 0)) {
/freebsd-10-stable/contrib/ntp/sntp/libopts/compat/
H A Dpathfind.c47 if (strchr( mode, 'r' )) mode_bits |= R_OK;
/freebsd-10-stable/tools/regression/lib/libc/nss/
H A Dtest-getusershell.c189 if (access(snapshot_file, W_OK | R_OK) != 0) {
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfconvert.c210 if (access(infile, R_OK) != 0)
/freebsd-10-stable/tests/sys/kern/
H A Dkern_descrip_test.c100 if (access(RENDEZVOUS, R_OK) != 0)

Completed in 344 milliseconds

1234