summaryrefslogtreecommitdiffstats
path: root/man3/ctime.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/ctime.3')
-rw-r--r--man3/ctime.322
1 files changed, 14 insertions, 8 deletions
diff --git a/man3/ctime.3 b/man3/ctime.3
index 6d978b338..c928804a0 100644
--- a/man3/ctime.3
+++ b/man3/ctime.3
@@ -23,14 +23,6 @@ Standard C library
.nf
.B #include <time.h>
.PP
-.BI "[[gnu::nonnull]] char *asctime(const struct tm *" tm );
-.BI "[[gnu::nonnull]] char *asctime_r(const struct tm *restrict " tm ,
-.BI " char " buf "[restrict 26]);"
-.PP
-.BI "[[gnu::nonnull]] char *ctime(const time_t *" timep );
-.BI "[[gnu::nonnull]] char *ctime_r(const time_t *restrict " timep ,
-.BI " char " buf "[restrict 26]);"
-.PP
.BI "[[gnu::nonnull]] struct tm *gmtime(const time_t *" timep );
.BI "[[gnu::nonnull]] struct tm *gmtime_r(const time_t *restrict " timep ,
.BI " struct tm *restrict " result );
@@ -40,6 +32,20 @@ Standard C library
.BI " struct tm *restrict " result );
.PP
.BI "[[gnu::nonnull]] time_t mktime(struct tm *" tm );
+.PP
+.B [[deprecated]] [[gnu::nonnull]]
+.BI "char *asctime(const struct tm *" tm );
+.PP
+.B [[deprecated]] [[gnu::nonnull]]
+.BI "char *asctime_r(const struct tm *restrict " tm ", \
+char " buf "[restrict 26]);"
+.PP
+.B [[deprecated]] [[gnu::nonnull]]
+.BI "char *ctime(const time_t *" timep );
+.PP
+.B [[deprecated]] [[gnu::nonnull]]
+.BI "char *ctime_r(const time_t *restrict " timep ", \
+char " buf "[restrict 26]);"
.fi
.PP
.RS -4