if (opts->argc size = sb.st_size; return; } stat, fstat, lstat – get file status stat() stats the file pointed to by path and fills in buf. fstat() is identical to stat(), except that the file to be stat-ed is specified by the file descriptor fd. Reference/Source : Linux Programmer’s Manual. pv (Pipe Viewer) can be …