@@ -8,27 +8,12 @@ INDEX
INDEX
_pread_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <unistd.h>
ssize_t pread(int <[fd]>, void *<[buf]>, size_t <[n]>, off_t <[off]>);
ssize_t _pread_r(struct _reent *<[rptr]>, int <[fd]>,
void *<[buf]>, size_t <[n]>, off_t <[off]>);
-TRAD_SYNOPSIS
- #include <unistd.h>
- ssize_t pread(<[fd]>, <[buf]>, <[n]>, <[off]>)
- int <[fd]>;
- void *<[buf]>;
- size_t <[n]>;
- off_t <[off]>;
-
- ssize_t _pread_r(<[rptr]>, <[fd]>, <[buf]>, <[n]>, <[off]>)
- struct _reent *<[rptr]>;
- int <[fd]>;
- void *<[buf]>;
- size_t <[n]>;
- off_t <[off]>;
-
DESCRIPTION
The <<pread>> function is similar to <<read>>. One difference is that
<<pread>> has an additional parameter <[off]> which is the offset to
@@ -8,28 +8,13 @@ INDEX
INDEX
_pwrite_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <unistd.h>
ssize_t pwrite(int <[fd]>, const void *<[buf]>,
size_t <[n]>, off_t <[off]>);
ssize_t _pwrite_r(struct _reent *<[rptr]>, int <[fd]>,
const void *<[buf]>, size_t <[n]>, off_t <[off]>);
-TRAD_SYNOPSIS
- #include <unistd.h>
- ssize_t pwrite(<[fd]>, <[buf]>, <[n]>, <[off]>)
- int <[fd]>;
- const void *<[buf]>;
- size_t <[n]>;
- off_t <[off]>;
-
- ssize_t _pwrite_r(<[rptr]>, <[fd]>, <[buf]>, <[n]>, <[off]>)
- struct _reent *<[rptr]>;
- int <[fd]>;
- const void *<[buf]>;
- size_t <[n]>;
- off_t <[off]>;
-
DESCRIPTION
The <<pwrite>> function is similar to <<write>>. One difference is that
<<pwrite>> has an additional parameter <[off]> which is the offset to
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> --- newlib/libc/unix/pread.c | 17 +---------------- newlib/libc/unix/pwrite.c | 17 +---------------- 2 files changed, 2 insertions(+), 32 deletions(-) -- 2.15.0