Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Difference between (getxattr()) and ATTR_CMN_FNDRINFO (getattrlist())
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Difference between (getxattr()) and ATTR_CMN_FNDRINFO (getattrlist())


The getattrlist() API returns Finder Flags through ATTR_CMN_FNDRINFO
while the getxattr() returns them through the Extended attribute
Any flags set using /Developer/Tools/GetFileInfo except for L (Locked)
flag shows up in The L flag shows up as uchg in

Though the two look identical are there any differences? Are there any
flags returned by only one of the 2 API's. Is anyone a subset of the
other ? While doing a backup of files, is it ok to use either of them
( ATTR_CMN_FNDRINFO or ) or should I use both of
them ?

Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.