git-svn-id: https://profuse.googlecode.com/svn/branches/v2@275 aa027e90-d47c-11dd-86d7-074df07e0730

This commit is contained in:
ksherlock 2010-05-24 22:02:31 +00:00
parent 6468724573
commit 0d8ca19a1a

View File

@ -31,6 +31,11 @@ inline ssize_t listxattr(const char *path, char *namebuf, size_t size)
return listxattr(path, namebuf, size, XATTR_NOFOLLOW);
}
// apple has additional parameter for offset .
inline int setxattr(const char *path, const char *name, void *value, size_t size, int flags)
{
return setxattr(path, name, value, size, 0, flags);
}
#endif
void hexdump(const uint8_t *data, ssize_t size)