repo.or.cz
/
erinaco.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add recursive scanning
[erinaco.git]
/
file.c
blob
61b2ab6be17f643975000c757a5d1535a2dc3b81
1
#include <stdbool.h>
2
#include <unistd.h>
3
#include
"file.h"
4
5
bool
exists
(
const char
*
pathname
)
6
{
7
return
access
(
pathname
,
X_OK
) ==
0
;
8
}