tkin
Back to school!!
Here's the question, I can't solve this, need help.
Q.Write a C program to pass file path as command line argument and use stat() function to get file stats(time of creation, length, size, name of file) in linux.
This is too hard, the man page for stat is very vague with structures etc, I know stat command for shell but the function is HARD.
PS: On a scale of 1-10 how hard is this program for a 3rd year CS student with very basic linux, and moderate C knowledge?
Q.Write a C program to pass file path as command line argument and use stat() function to get file stats(time of creation, length, size, name of file) in linux.
This is too hard, the man page for stat is very vague with structures etc, I know stat command for shell but the function is HARD.
PS: On a scale of 1-10 how hard is this program for a 3rd year CS student with very basic linux, and moderate C knowledge?