about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits/uio.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-11-01 10:38:00 -0400
committerUlrich Drepper <drepper@gmail.com>2011-11-01 10:38:00 -0400
commite35f65ea8dbd8f3d011bc93af56f7a3161172b26 (patch)
tree5cce38303c111e4b59bffa492507c7ab5eed0359 /sysdeps/unix/sysv/linux/bits/uio.h
parent78239589cd8c6667886b94c4db146109855f417a (diff)
downloadglibc-e35f65ea8dbd8f3d011bc93af56f7a3161172b26.tar.gz
glibc-e35f65ea8dbd8f3d011bc93af56f7a3161172b26.tar.xz
glibc-e35f65ea8dbd8f3d011bc93af56f7a3161172b26.zip
unsigned long it better for the size arguments
The new syscalls should use unsigned long not size_t.  The parameters
are not a direct measure of memory size.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/uio.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/uio.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/uio.h b/sysdeps/unix/sysv/linux/bits/uio.h
index ea850c8b48..b2d77195c7 100644
--- a/sysdeps/unix/sysv/linux/bits/uio.h
+++ b/sysdeps/unix/sysv/linux/bits/uio.h
@@ -56,16 +56,18 @@ __BEGIN_DECLS
 
 /* Read from another process' address space.  */
 extern ssize_t process_vm_readv (pid_t __pid, __const struct iovec *__lvec,
-				 size_t __liovcnt,
+				 unsigned long int __liovcnt,
 				 __const struct iovec *__rvec,
-				 size_t __riovcnt, unsigned long int __flags)
+				 unsigned long int __riovcnt,
+				 unsigned long int __flags)
   __THROW;
 
 /* Write to another process' address space.  */
 extern ssize_t process_vm_writev (pid_t __pid, __const struct iovec *__lvec,
-				  size_t __liovcnt,
+				  unsigned long int __liovcnt,
 				  __const struct iovec *__rvec,
-				  size_t __riovcnt, unsigned long int __flags)
+				  unsigned long int __riovcnt,
+				  unsigned long int __flags)
   __THROW;
 
 __END_DECLS