[cs631apue] Question about st_size

yluo4 yluo4 at stevens.edu
Mon Oct 7 13:12:28 EDT 2013


   Sorry, I didn't read the instruction carefully.  I has said we should 
use the major and minor device numbers instead of file size.
   Yulong


On 10/07/2013 11:43 AM, yluo4 wrote:
> Hi,
>   Is st_size in stat only used to check regular file, symbolic file,
> and directory file size?  I find that other types file's st_size is 0.
>  How can we get these files' size?
>  Thank you,
>  Yulong
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue


More information about the cs631apue mailing list