| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | stat() and xfs |
| From: | Ron Henry <dijital1@xxxxxxxxxxxxxx> |
| Date: | Mon, 16 Sep 2002 21:29:50 -0400 (AST) |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
if I do stat("filename", &entry); and I then procede to printf() some of
the fields of the returned structure, is there a problem with casting the
elements to int vs something else? for ex should it be
printf("inode: %d\n", (int)entry.st_ino); OR
printf("inode: %lld\n", (long long)entry.st_ino);
The platform is x86. OS is Linux
Ron Henry
"the illiterate of the future are not those who can neither read
or write; but those who cannot learn, unlearn, and relearn..."
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Kernel HANG, Benito Venegas |
|---|---|
| Next by Date: | Re: stat() and xfs, Nathan Scott |
| Previous by Thread: | Kernel HANG, Benito Venegas |
| Next by Thread: | Re: stat() and xfs, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |