Show More
Commit Description:
update run
Commit Description:
update run
References:
File last commit:
Show/Diff file:
Action:
test/data/yesno_open_file.c
| 13 lines
| 184 B
| text/x-c
| CLexer
|
|
r35 | #include <stdlib.h> | ||
#include <stdio.h> | ||||
int main() | ||||
{ | ||||
FILE *fp = fopen("/bin/ls","r"); | ||||
if(fp!=NULL) { | ||||
printf("yes\n"); | ||||
fclose(fp); | ||||
} else | ||||
printf("no\n"); | ||||
exit(0); | ||||
} | ||||