Re: BSD Flags
Re: BSD Flags
- Subject: Re: BSD Flags
- From: Paul Ripke <email@hidden>
- Date: Wed, 18 Oct 2006 14:26:38 +1000
- Mail-followup-to: email@hidden
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >BSD Flags (From: Jeffrey Ellis <email@hidden>) |