Re: Identifying sparse files using getattrlist()
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mutt/1.5.20 (2009-06-14) On Tue, Nov 03, 2009 at 09:55:05PM +0530, rohan a wrote:
Thanks a lot :) I will try this Would st_blksize vary for every file ?
That's up to each file system.
Also is there any macro I can use instead of directly using 512 ?
$ grep 512 /usr/include/sys/stat.h #define S_BLKSIZE 512 /* block size used in the stat struct */ --macko _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Mackovitch