2002-05-06 Jeff Johnston <jjohnstn@redhat.com>

* libc/unix/pread.c: Fix typo for _pread_r.
        * libc/unix/pwrite.c: Fix type for _pwrite_r.
        * libc/sys/linux/pread64.c: Fix typo for read syscall.
        * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
This commit is contained in:
Jeff Johnston 2002-05-06 20:29:29 +00:00
parent a991777994
commit f78e59a8f9
5 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/pread.c: Fix typo for _pread_r.
* libc/unix/pwrite.c: Fix type for _pwrite_r.
* libc/sys/linux/pread64.c: Fix typo for read syscall.
* libc/sys/linux/pwrite64.c: Fix typo for write syscall.
2002-05-03 Christopher Faylor <cgf@redhat.com>
* libc/include/sys/unistd.h: Define getdomainname under cygwin.

View File

@ -29,7 +29,7 @@ RETURNS
PORTABILITY
<<pread64>> is an EL/IX extension.
Supporting OS subroutine required: <<read64>>, <<lseek64>>.
Supporting OS subroutine required: <<read>>, <<lseek64>>.
*/
#include <_ansi.h>
@ -52,7 +52,7 @@ _DEFUN (pread64, (fd, buf, n, off),
if (lseek64 (fd, off, SEEK_SET) == (loff_t)-1)
return -1;
num_read = read64 (fd, buf, n);
num_read = read (fd, buf, n);
if (lseek64 (fd, cur_pos, SEEK_SET) == (loff_t)-1)
return -1;

View File

@ -29,7 +29,7 @@ RETURNS
PORTABILITY
<<pwrite64>> is an EL/IX extension.
Supporting OS subroutine required: <<write64>>, <<lseek64>>.
Supporting OS subroutine required: <<write>>, <<lseek64>>.
*/
#include <_ansi.h>
@ -52,7 +52,7 @@ _DEFUN (pwrite64, (fd, buf, n, off),
if (lseek64 (fd, off, SEEK_SET) == (loff_t)-1)
return -1;
num_written = write64 (fd, buf, n);
num_written = write (fd, buf, n);
if (lseek64 (fd, cur_pos, SEEK_SET) == (loff_t)-1)
return -1;

View File

@ -52,7 +52,7 @@ Supporting OS subroutine required: <<read>>, <<lseek>>.
#include <reent.h>
ssize_t
_DEFUN (pread_r, (rptr, fd, buf, n, off),
_DEFUN (_pread_r, (rptr, fd, buf, n, off),
struct _reent *rptr _AND
int fd _AND
_PTR buf _AND

View File

@ -53,7 +53,7 @@ Supporting OS subroutine required: <<write>>, <<lseek>>.
#include <reent.h>
ssize_t
_DEFUN (pwrite_r, (rptr, fd, buf, n, off),
_DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
struct _reent *rptr _AND
int fd _AND
_CONST _PTR buf _AND