Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- snprintf(path, PATH_MAX, "%s/%s", av[1], dirent->d_name);
- stat(path, &statbuf);
- if (S_ISREG(statbuf.st_mode) && statbuf.st_uid == uid && isupper((unsigned char) (dirent->d_name[0]))) {
- sum += statbuf.st_size;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement