49 |
* r) 0: is not binary, 1: is binary |
* r) 0: is not binary, 1: is binary |
50 |
*/ |
*/ |
51 |
static int |
static int |
52 |
is_binary(path) |
is_binary(const char *path) |
|
const char *path; |
|
53 |
{ |
{ |
54 |
int ip; |
int ip; |
55 |
char buf[32]; |
char buf[32]; |
91 |
* You can specify more than one character. It assumed 'AND' test. |
* You can specify more than one character. It assumed 'AND' test. |
92 |
*/ |
*/ |
93 |
int |
int |
94 |
test(flags, path) |
test(const char *flags, const char *path) |
|
const char *flags; |
|
|
const char *path; |
|
95 |
{ |
{ |
96 |
static struct stat sb; |
static struct stat sb; |
97 |
int c; |
int c; |