Error in opening file

I tried to open a file using the following code
FILE *trans1;
trans1=fopen("/proc/binder/transcation_log","r");

I am getting an error that no such file or directory while when i try'ed to open the same file in Android(java) it opens,whats the reason?
Actually in java in reading data from this file directly
How do you know you're getting "no such file or directory?"
Make sure the file is existed and you got the right for accessment.
Topic archived. No new replies allowed.