Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-11-30 11:23:19 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2017-12-01 12:41:53 +0300
commit571ff42ae4c587b9211c17fd58abc2b23464c0ad (patch)
tree91f4949a32e8a70dae5c07ce4c9e1e5ab070d3a7 /newlib/libc/unix
parent5aa2434de0a495a4df5af91f257fc6a8037fec5b (diff)
unix: remove TRAD_SYNOPSIS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/unix')
-rw-r--r--newlib/libc/unix/pread.c17
-rw-r--r--newlib/libc/unix/pwrite.c17
2 files changed, 2 insertions, 32 deletions
diff --git a/newlib/libc/unix/pread.c b/newlib/libc/unix/pread.c
index 770c3fcf0..7d351d9d1 100644
--- a/newlib/libc/unix/pread.c
+++ b/newlib/libc/unix/pread.c
@@ -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
diff --git a/newlib/libc/unix/pwrite.c b/newlib/libc/unix/pwrite.c
index 9f2a89835..dad841243 100644
--- a/newlib/libc/unix/pwrite.c
+++ b/newlib/libc/unix/pwrite.c
@@ -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