mirror of
https://github.com/ksherlock/profuse.git
synced 2024-12-22 20:29:59 +00:00
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@275 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
6468724573
commit
0d8ca19a1a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user