mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user