justincormack / ljsyscall

LuaJIT Unix syscall FFI
http://www.myriabit.com/ljsyscall/
Other
440 stars 53 forks source link

osx xattr #155

Closed justincormack closed 10 years ago

justincormack commented 10 years ago

OSX turns out to have different listxattr functions from linux/netbsd so we are going to have to split these out.

Ah and in fact all the commands have the options and no 'l' variant plus different signature...

     ssize_t
     listxattr(const char *path, char *namebuf, size_t size, int options);

     ssize_t
     flistxattr(int fd, char *namebuf, size_t size, int options);

Where options has a nofollow option.