Aligning extended attributes API with Mac OSX?
Julian Elischer
julian at elischer.org
Tue May 3 12:00:24 PDT 2005
Craig Rodrigues wrote:
> Hi,
>
> An extended attributes API was just added to Mac OSX 10.4.
> This API looks very similar to FreeBSD's.
though one is ascii and the other is UTF8
and one is name:value and the other is name=value
> Right now there is no POSIX standard for extended attributes,
> but EA are useful for many different types of things.
>
> I don't know if EA are widely used in applications on FreeBSD,
> but what do people think about aligning our API with
> Mac OSX?
>
> Here are the man pages for some of the API's:
>
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/listxattr.2.html
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/setxattr.2.html
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/removexattr.2.html#//apple_ref/doc/man/2/removexattr
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/getxattr.2.html#//apple_ref/doc/man/2/getxattr
>
>
> The FreeBSD equivalents are documented in extattr(2).
>
More information about the freebsd-arch
mailing list