1 /* Check access(2) trivially. Newlib doesn't have it.
8 int main (int argc
, char **argv
)
10 if (access (argv
[0], R_OK
|W_OK
|X_OK
) == 0
11 && access ("/dev/null", R_OK
|W_OK
) == 0
12 && access ("/dev/null", X_OK
) == -1
This page took 0.029868 seconds and 4 git commands to generate.