[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Acl-devel] attr vs Glibc
From: |
Nathan Scott |
Subject: |
Re: [Acl-devel] attr vs Glibc |
Date: |
Wed, 25 Apr 2012 10:06:53 +1000 |
On 25 April 2012 08:02, ohav chochmah <address@hidden> wrote:
> Hello all,
>
> I'm a bit confused, is there any difference between {,l,f}setxattr,
> {,l,f}getxattr, {,l,f}removexattr, {,l,f}listxattr as implemented in glibc,
> the interface of which is accessible via sys/xattr.h, and the exact same
> functions as implemented in attr (attr/xattr.h)? in which case should we
> use the latter?
The libattr interfaces predate the glibc interfaces - they were used
when we were originally developing the tools.
These days, you should always use the glibc variant.
cheers.
--
Nathan