I'm attempting to write a C program that will tell me the permissions of a file. I need to know how to read the parameters you enter when you run the file (for example, if my file was permis and i typed 'permis network.c')
...or...
is there a program that will show me the permissions of a fiel?