PERFORCE change 42253 for review
Chris Vance
cvance at FreeBSD.org
Thu Nov 13 16:48:08 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=42253
Change 42253 by cvance at cvance_osx_laptop on 2003/11/13 08:47:31
extattr_list_xxx functions return data in the void * buffer
Affected files ...
.. //depot/projects/trustedbsd/sedarwin/libextattr/extattr.c#2 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin/libextattr/extattr.c#2 (text+ko) ====
@@ -130,20 +130,20 @@
return syscall (357, _path, _attrnamespace, _attrname, _data, _nbytes);
}
-int extattr_list_file(const char *_path, int _attrnamespace,
- const void *_data, size_t _nbytes)
+ssize_t extattr_list_file(const char *_path, int _attrnamespace,
+ void *_data, size_t _nbytes)
{
return syscall (361, _path, _attrnamespace, _data, _nbytes);
}
-int extattr_list_link(const char *_path, int _attrnamespace,
- const void *_data, size_t _nbytes)
+ssize_t extattr_list_link(const char *_path, int _attrnamespace,
+ void *_data, size_t _nbytes)
{
return syscall (362, _path, _attrnamespace, _data, _nbytes);
}
-int extattr_list_fd(int fd, int _attrnamespace,
- const void *_data, size_t _nbytes)
+ssize_t extattr_list_fd(int fd, int _attrnamespace,
+ void *_data, size_t _nbytes)
{
return syscall (360, fd, _attrnamespace, _data, _nbytes);
}
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list