Searched refs:mode_bits (Results 1 – 1 of 1) sorted by relevance
43 int mode_bits = 0; in pathfind() local47 if (strchr( mode, 'r' )) mode_bits |= R_OK; in pathfind()48 if (strchr( mode, 'w' )) mode_bits |= W_OK; in pathfind()49 if (strchr( mode, 'x' )) mode_bits |= X_OK; in pathfind()84 if (access(abs_name, mode_bits) >= 0) { in pathfind()