| To: | William L Jones <jones@xxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: How do you get stat64 to work? |
| From: | "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx> |
| Date: | Mon, 14 Aug 2000 12:30:26 -0500 |
| In-reply-to: | William L Jones <jones@xxxxxxxxxxxxxxxxxx> "How do you get stat64 to work?" (Aug 14, 12:25pm) |
| References: | <200008140224.VAA08373@xxxxxxxxxxxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
hey Bill, On Aug 14, 12:25pm, William L Jones wrote: > Subject: How do you get stat64 to work? > > I have created file 8GB on a xfs file system. I cannot seem to get > stat64 to give the right size of the file. Any suggestions? > I think you need to at least #define _LARGEFILE64_SOURCE, which sets __USE_LARGEFILE64 - check out /usr/include/features.h For the XFS commands we #define _GNU_SOURCE which includes _LARGEFILE64_SOURCE but gives other stuff we need too, like getsubopts, and so on. cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | How do you get stat64 to work?, William L Jones |
|---|---|
| Next by Date: | [no subject], William L Jones |
| Previous by Thread: | How do you get stat64 to work?, William L Jones |
| Next by Thread: | [no subject], William L Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |