time: remove TRAD_SYNOPSIS

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz 2017-11-30 02:22:31 -06:00
parent adfde9d773
commit 5aa2434de0
12 changed files with 12 additions and 83 deletions

View File

@ -19,19 +19,11 @@ INDEX
INDEX INDEX
_asctime_r _asctime_r
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
char *asctime(const struct tm *<[clock]>); char *asctime(const struct tm *<[clock]>);
char *_asctime_r(const struct tm *<[clock]>, char *<[buf]>); char *_asctime_r(const struct tm *<[clock]>, char *<[buf]>);
TRAD_SYNOPSIS
#include <time.h>
char *asctime(<[clock]>)
struct tm *<[clock]>;
char *asctime_r(<[clock]>)
struct tm *<[clock]>;
char *<[buf]>;
DESCRIPTION DESCRIPTION
Format the time value at <[clock]> into a string of the form Format the time value at <[clock]> into a string of the form
. Wed Jun 15 11:38:07 1988\n\0 . Wed Jun 15 11:38:07 1988\n\0

View File

@ -25,14 +25,10 @@ FUNCTION
INDEX INDEX
clock clock
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
clock_t clock(void); clock_t clock(void);
TRAD_SYNOPSIS
#include <time.h>
clock_t clock();
DESCRIPTION DESCRIPTION
Calculates the best available approximation of the cumulative amount Calculates the best available approximation of the cumulative amount
of time used by your program since it started. To convert the result of time used by your program since it started. To convert the result

View File

@ -12,20 +12,11 @@ INDEX
INDEX INDEX
ctime_r ctime_r
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
char *ctime(const time_t *<[clock]>); char *ctime(const time_t *<[clock]>);
char *ctime_r(const time_t *<[clock]>, char *<[buf]>); char *ctime_r(const time_t *<[clock]>, char *<[buf]>);
TRAD_SYNOPSIS
#include <time.h>
char *ctime(<[clock]>)
time_t *<[clock]>;
char *ctime_r(<[clock]>, <[buf]>)
time_t *<[clock]>;
char *<[buf]>;
DESCRIPTION DESCRIPTION
Convert the time value at <[clock]> to local time (like <<localtime>>) Convert the time value at <[clock]> to local time (like <<localtime>>)
and format it into a string of the form and format it into a string of the form

View File

@ -10,16 +10,10 @@ FUNCTION
INDEX INDEX
difftime difftime
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
double difftime(time_t <[tim1]>, time_t <[tim2]>); double difftime(time_t <[tim1]>, time_t <[tim2]>);
TRAD_SYNOPSIS
#include <time.h>
double difftime(<[tim1]>, <[tim2]>)
time_t <[tim1]>;
time_t <[tim2]>;
DESCRIPTION DESCRIPTION
Subtracts the two times in the arguments: `<<<[tim1]> - <[tim2]>>>'. Subtracts the two times in the arguments: `<<<[tim1]> - <[tim2]>>>'.

View File

@ -17,19 +17,11 @@ INDEX
INDEX INDEX
gmtime_r gmtime_r
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
struct tm *gmtime(const time_t *<[clock]>); struct tm *gmtime(const time_t *<[clock]>);
struct tm *gmtime_r(const time_t *<[clock]>, struct tm *<[res]>); struct tm *gmtime_r(const time_t *<[clock]>, struct tm *<[res]>);
TRAD_SYNOPSIS
#include <time.h>
struct tm *gmtime(<[clock]>)
const time_t *<[clock]>;
struct tm *gmtime_r(<[clock]>, <[res]>)
const time_t *<[clock]>;
struct tm *<[res]>;
DESCRIPTION DESCRIPTION
<<gmtime>> takes the time at <[clock]> representing the number <<gmtime>> takes the time at <[clock]> representing the number
of elapsed seconds since 00:00:00 on January 1, 1970, Universal of elapsed seconds since 00:00:00 on January 1, 1970, Universal

View File

@ -11,19 +11,11 @@ INDEX
INDEX INDEX
localtime_r localtime_r
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
struct tm *localtime(time_t *<[clock]>); struct tm *localtime(time_t *<[clock]>);
struct tm *localtime_r(time_t *<[clock]>, struct tm *<[res]>); struct tm *localtime_r(time_t *<[clock]>, struct tm *<[res]>);
TRAD_SYNOPSIS
#include <time.h>
struct tm *localtime(<[clock]>)
time_t *<[clock]>;
struct tm *localtime(<[clock]>, <[res]>)
time_t *<[clock]>;
struct tm *<[res]>;
DESCRIPTION DESCRIPTION
<<localtime>> converts the time at <[clock]> into local time, then <<localtime>> converts the time at <[clock]> into local time, then
converts its representation from the arithmetic representation to the converts its representation from the arithmetic representation to the

View File

@ -20,15 +20,10 @@ FUNCTION
INDEX INDEX
mktime mktime
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
time_t mktime(struct tm *<[timp]>); time_t mktime(struct tm *<[timp]>);
TRAD_SYNOPSIS
#include <time.h>
time_t mktime(<[timp]>)
struct tm *<[timp]>;
DESCRIPTION DESCRIPTION
<<mktime>> assumes the time at <[timp]> is a local time, and converts <<mktime>> assumes the time at <[timp]> is a local time, and converts
its representation from the traditional representation defined by its representation from the traditional representation defined by

View File

@ -25,7 +25,7 @@ INDEX
INDEX INDEX
strftime_l strftime_l
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
size_t strftime(char *restrict <[s]>, size_t <[maxsize]>, size_t strftime(char *restrict <[s]>, size_t <[maxsize]>,
const char *restrict <[format]>, const char *restrict <[format]>,
@ -35,14 +35,6 @@ ANSI_SYNOPSIS
const struct tm *restrict <[timp]>, const struct tm *restrict <[timp]>,
locale_t <[locale]>); locale_t <[locale]>);
TRAD_SYNOPSIS
#include <time.h>
size_t strftime(<[s]>, <[maxsize]>, <[format]>, <[timp]>)
char *<[s]>;
size_t <[maxsize]>;
char *<[format]>;
struct tm *<[timp]>;
DESCRIPTION DESCRIPTION
<<strftime>> converts a <<struct tm>> representation of the time (at <<strftime>> converts a <<struct tm>> representation of the time (at
<[timp]>) into a null-terminated string, starting at <[s]> and occupying <[timp]>) into a null-terminated string, starting at <[s]> and occupying

View File

@ -5,15 +5,10 @@ FUNCTION
INDEX INDEX
time time
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
time_t time(time_t *<[t]>); time_t time(time_t *<[t]>);
TRAD_SYNOPSIS
#include <time.h>
time_t time(<[t]>)
time_t *<[t]>;
DESCRIPTION DESCRIPTION
<<time>> looks up the best available representation of the current <<time>> looks up the best available representation of the current
time and returns it, encoded as a <<time_t>>. It stores the same time and returns it, encoded as a <<time_t>>. It stores the same

View File

@ -7,15 +7,11 @@ INDEX
INDEX INDEX
__tz_unlock __tz_unlock
ANSI_SYNOPSIS SYNOPSIS
#include "local.h" #include "local.h"
void __tz_lock (void); void __tz_lock (void);
void __tz_unlock (void); void __tz_unlock (void);
TRAD_SYNOPSIS
void __tz_lock();
void __tz_unlock();
DESCRIPTION DESCRIPTION
The <<tzset>> facility functions call these functions when they need to The <<tzset>> facility functions call these functions when they need to
ensure the values of global variables. The version of these routines ensure the values of global variables. The version of these routines

View File

@ -7,17 +7,11 @@ INDEX
INDEX INDEX
_tzset_r _tzset_r
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
void tzset(void); void tzset(void);
void _tzset_r (struct _reent *<[reent_ptr]>); void _tzset_r (struct _reent *<[reent_ptr]>);
TRAD_SYNOPSIS
#include <time.h>
void tzset();
void _tzset_r (<[reent_ptr]>);
struct _reent *reent_ptr;
DESCRIPTION DESCRIPTION
<<tzset>> examines the TZ environment variable and sets up the three <<tzset>> examines the TZ environment variable and sets up the three
external variables: <<_timezone>>, <<_daylight>>, and <<tzname>>. The external variables: <<_timezone>>, <<_daylight>>, and <<tzname>>. The

View File

@ -13,7 +13,7 @@ FUNCTION
INDEX INDEX
wcsftime wcsftime
ANSI_SYNOPSIS SYNOPSIS
#include <time.h> #include <time.h>
#include <wchar.h> #include <wchar.h>
size_t wcsftime(wchar_t *<[s]>, size_t <[maxsize]>, size_t wcsftime(wchar_t *<[s]>, size_t <[maxsize]>,