Noob here.
gcc complains by stating:
warning: unused parameter ‘status’
1. I do not use stat, so how can I rewrite to omit it ?
2. Can it be rewritten so it can all be done in main rather than calling a function ?
int list(const char *filename, const struct stat *status, int type)
{
if( (type...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.