Below are couple of questions regading file existence
- I want to search for a file in a particular directory - is there any function call i can directly use?
- For seeing whether a file exists or not in the system - I have thought couple of solutions a) use access(“filename”), b) use fopen() c) use find command from the program, is there a better way to do this other than the options mentioned???
- How do i get the created time of a file??? the stat structure doesnt provide me this info?
Please provide u r inputs…