site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Mail-followup-to: darwin-kernel@lists.apple.com User-agent: Mutt/1.4.2.1i On Tue, Oct 17, 2006 at 09:18:11PM -0700, Jeffrey Ellis wrote:
Can someone tell me the proper way to access the BSD flags for a file?
Programmatically from userland? stat(2) family of calls return the st_flags member. And as per the other reply, chflags(2) (or fchflags(2)) should change them. Cheers, -- Paul Ripke Unix/OpenVMS/TSM/DBA I love deadlines. I like the whooshing sound they make as they fly by. -- Douglas Adams _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com