diff options
Diffstat (limited to 'ports/darwin')
-rw-r--r-- | ports/darwin/guts/fgetxattr.c | 4 | ||||
-rw-r--r-- | ports/darwin/guts/flistxattr.c | 4 | ||||
-rw-r--r-- | ports/darwin/guts/fsetxattr.c | 4 | ||||
-rw-r--r-- | ports/darwin/guts/getxattr.c | 4 | ||||
-rw-r--r-- | ports/darwin/guts/listxattr.c | 4 | ||||
-rw-r--r-- | ports/darwin/guts/setxattr.c | 4 | ||||
-rw-r--r-- | ports/darwin/wrapfuncs.in | 12 |
7 files changed, 18 insertions, 18 deletions
diff --git a/ports/darwin/guts/fgetxattr.c b/ports/darwin/guts/fgetxattr.c index 1752dff..1cd8904 100644 --- a/ports/darwin/guts/fgetxattr.c +++ b/ports/darwin/guts/fgetxattr.c @@ -2,11 +2,11 @@ * Copyright (c) 2011 Wind River Systems; see * guts/COPYRIGHT for information. * - * ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size) + * ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size, u_int32_t position, int options) * ssize_t rc = -1; */ - rc = real_fgetxattr(filedes, name, value, size); + rc = real_fgetxattr(filedes, name, value, size, position, options); /* return rc; * } diff --git a/ports/darwin/guts/flistxattr.c b/ports/darwin/guts/flistxattr.c index 2c0fe7c..7575f28 100644 --- a/ports/darwin/guts/flistxattr.c +++ b/ports/darwin/guts/flistxattr.c @@ -2,11 +2,11 @@ * Copyright (c) 2011 Wind River Systems; see * guts/COPYRIGHT for information. * - * ssize_t flistxattr(int filedes, char *list, size_t size) + * ssize_t flistxattr(int filedes, char *list, size_t size, int options) * ssize_t rc = -1; */ - rc = real_flistxattr(filedes, list, size); + rc = real_flistxattr(filedes, list, size, options); /* return rc; * } diff --git a/ports/darwin/guts/fsetxattr.c b/ports/darwin/guts/fsetxattr.c index 0de3dfc..541569a 100644 --- a/ports/darwin/guts/fsetxattr.c +++ b/ports/darwin/guts/fsetxattr.c @@ -2,11 +2,11 @@ * Copyright (c) 2011 Wind River Systems; see * guts/COPYRIGHT for information. * - * int fsetxattr(int filedes, const char *name, const void *value, size_t size, int flags) + * int fsetxattr(int filedes, const char *name, const void *value, size_t size, u_int32_t position, int options) * int rc = -1; */ - rc = real_fsetxattr(filedes, name, value, size, flags); + rc = real_fsetxattr(filedes, name, value, size, position, options); /* return rc; * } diff --git a/ports/darwin/guts/getxattr.c b/ports/darwin/guts/getxattr.c index 96fc1e8..16f0993 100644 --- a/ports/darwin/guts/getxattr.c +++ b/ports/darwin/guts/getxattr.c @@ -2,11 +2,11 @@ * Copyright (c) 2011 Wind River Systems; see * guts/COPYRIGHT for information. * - * ssize_t getxattr(const char *pathname, const char *name, void *value, size_t size) + * ssize_t getxattr(const char *pathname, const char *name, void *value, size_t size, u_int32_t position, int options) * ssize_t rc = -1; */ - rc = real_getxattr(pathname, name, value, size); + rc = real_getxattr(pathname, name, value, size, position, options); /* return rc; * } diff --git a/ports/darwin/guts/listxattr.c b/ports/darwin/guts/listxattr.c index 4b48ac6..0bba451 100644 --- a/ports/darwin/guts/listxattr.c +++ b/ports/darwin/guts/listxattr.c @@ -2,11 +2,11 @@ * Copyright (c) 2011 Wind River Systems; see * guts/COPYRIGHT for information. * - * ssize_t listxattr(const char *pathname, char *list, size_t size) + * ssize_t listxattr(const char *pathname, char *list, size_t size, int options) * ssize_t rc = -1; */ - rc = real_listxattr(pathname, list, size); + rc = real_listxattr(pathname, list, size, options); /* return rc; * } diff --git a/ports/darwin/guts/setxattr.c b/ports/darwin/guts/setxattr.c index 9458a69..3c8fd3d 100644 --- a/ports/darwin/guts/setxattr.c +++ b/ports/darwin/guts/setxattr.c @@ -2,11 +2,11 @@ * Copyright (c) 2011 Wind River Systems; see * guts/COPYRIGHT for information. * - * int setxattr(const char *pathname, const char *name, const void *value, size_t size, int flags) + * int setxattr(const char *pathname, const char *name, const void *value, size_t size, u_int32_t position, int options) * int rc = -1; */ - rc = real_setxattr(pathname, name, value, size, flags); + rc = real_setxattr(pathname, name, value, size, position, options); /* return rc; * } diff --git a/ports/darwin/wrapfuncs.in b/ports/darwin/wrapfuncs.in index e8f2833..39d9893 100644 --- a/ports/darwin/wrapfuncs.in +++ b/ports/darwin/wrapfuncs.in @@ -9,12 +9,12 @@ int fcntl(int fd, int cmd, ...{struct flock *lock}); int getgrouplist(const char *user, gid_t group, gid_t *groups, int *ngroups); # we use "pathname" to avoid canonicalizing paths, because these functions are # unimplemented -ssize_t getxattr(const char *pathname, const char *name, void *value, size_t size); -ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size); -ssize_t listxattr(const char *pathname, char *list, size_t size); -ssize_t flistxattr(int filedes, char *list, size_t size); -int setxattr(const char *pathname, const char *name, const void *value, size_t size, int flags); -int fsetxattr(int filedes, const char *name, const void *value, size_t size, int flags); +ssize_t getxattr(const char *pathname, const char *name, void *value, size_t size, u_int32_t position, int options); +ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size, u_int32_t position, int options); +ssize_t listxattr(const char *pathname, char *list, size_t size, int options); +ssize_t flistxattr(int filedes, char *list, size_t size, int options); +int setxattr(const char *pathname, const char *name, const void *value, size_t size, u_int32_t position, int options); +int fsetxattr(int filedes, const char *name, const void *value, size_t size, u_int32_t position, int options); # local color UIDs int getgrouplist(const char *name, int basegid, int *groups, int *ngroups); int scandir(const char *path, struct dirent ***namelist, int (*filter)(struct dirent *), int (*compar)()); |