rox.xattr | index |
Extended attribute support.
Two versions of the extended attribute API are recognized. If the 'getxattr'
function is detected then the functions used are
getxattr/setxattr/listxattr/removexattr. This is the API found on Linux
and some others.
If the 'attropen' function is found then the functions used are
attropen and unlinkat. This is the API found on Solaris.
If neither version is detected then a set of dummy functions are generated
which have no affect.
You should check the return value of the function supported(). Without
an argument this returns whether extended attribute support is available.
This module requires the ctypes module. This is part of Python 2.5 and
available as an extension for earlier versions of Python.
Classes | ||||||||||
|
Functions | ||
|