public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] sys: remove TRAD_SYNOPSIS
@ 2017-12-01 9:43 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2017-12-01 9:43 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=adfde9d773faa2c17ada9480c7a6a744bbd10c1f
commit adfde9d773faa2c17ada9480c7a6a744bbd10c1f
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Thu Nov 30 02:21:24 2017 -0600
sys: remove TRAD_SYNOPSIS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diff:
---
newlib/libc/sys/linux/getdate.c | 11 +----------
newlib/libc/sys/linux/pread64.c | 10 +---------
newlib/libc/sys/linux/pwrite64.c | 10 +---------
newlib/libc/sys/rdos/getenv.c | 7 +------
4 files changed, 4 insertions(+), 34 deletions(-)
diff --git a/newlib/libc/sys/linux/getdate.c b/newlib/libc/sys/linux/getdate.c
index 5c056c7..0e689f9 100644
--- a/newlib/libc/sys/linux/getdate.c
+++ b/newlib/libc/sys/linux/getdate.c
@@ -27,20 +27,11 @@ INDEX
INDEX
getdate_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <time.h>
struct tm *getdate(const char *<[string]>);
int getdate_r(const char *<[string]>, struct tm *<[res]>);
-TRAD_SYNOPSIS
- #include <time.h>
- struct tm *getdate(<[string]>);
- const char *<[string]>;
-
- int getdate_r(<[string]>, <[res]>);
- const char *<[string]>;
- struct tm *<[res]>;
-
DESCRIPTION
<<getdate>> reads a file which is specified by the environment variable:
DATEMSK. This file contains a number of formats valid for input to the
diff --git a/newlib/libc/sys/linux/pread64.c b/newlib/libc/sys/linux/pread64.c
index c4bdca7..3ced048 100644
--- a/newlib/libc/sys/linux/pread64.c
+++ b/newlib/libc/sys/linux/pread64.c
@@ -5,18 +5,10 @@ FUNCTION
INDEX
pread64
-ANSI_SYNOPSIS
+SYNOPSIS
#include <unistd.h>
ssize_t pread64(int <[fd]>, void *<[buf]>, size_t <[n]>, loff_t <[off]>);
-TRAD_SYNOPSIS
- #include <unistd.h>
- ssize_t pread64(<[fd]>, <[buf]>, <[n]>, <[off]>)
- int <[fd]>;
- void *<[buf]>;
- size_t <[n]>;
- loff_t <[off]>;
-
DESCRIPTION
The <<pread64>> function is similar to <<pread>>. The only difference is
that it operates on large files and so takes a 64-bit offset. Like <<pread>>>,
diff --git a/newlib/libc/sys/linux/pwrite64.c b/newlib/libc/sys/linux/pwrite64.c
index f1d6784..8767499 100644
--- a/newlib/libc/sys/linux/pwrite64.c
+++ b/newlib/libc/sys/linux/pwrite64.c
@@ -5,18 +5,10 @@ FUNCTION
INDEX
pwrite64
-ANSI_SYNOPSIS
+SYNOPSIS
#include <unistd.h>
ssize_t pwrite64(int <[fd]>, void *<[buf]>, size_t <[n]>, loff_t <[off]>);
-TRAD_SYNOPSIS
- #include <unistd.h>
- ssize_t pwrite64(<[fd]>, <[buf]>, <[n]>, <[off]>)
- int <[fd]>;
- void *<[buf]>;
- size_t <[n]>;
- loff_t <[off]>;
-
DESCRIPTION
The <<pwrite64>> function is similar to <<pwrite>>. The only difference is
that it operates on large files and so takes a 64-bit offset. Like <<pwrite>>>,
diff --git a/newlib/libc/sys/rdos/getenv.c b/newlib/libc/sys/rdos/getenv.c
index 933ea4d..1787769 100644
--- a/newlib/libc/sys/rdos/getenv.c
+++ b/newlib/libc/sys/rdos/getenv.c
@@ -32,15 +32,10 @@ INDEX
INDEX
environ
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdlib.h>
char *getenv(const char *<[name]>);
-TRAD_SYNOPSIS
- #include <stdlib.h>
- char *getenv(<[name]>)
- char *<[name]>;
-
DESCRIPTION
<<getenv>> searches the list of environment variable names and values
(using the global pointer ``<<char **environ>>'') for a variable whose
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-01 9:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 9:43 [newlib-cygwin] sys: remove TRAD_SYNOPSIS Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).