@@ -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
@@ -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>>>,
@@ -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>>>,
@@ -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
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> --- 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(-) -- 2.15.0