]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/ctime.3
mprotect.2, readv.2, sigaltstack.2, sigreturn.2, ctime.3, scandir.3, random.4, pkeys...
[thirdparty/man-pages.git] / man3 / ctime.3
index c68bdb4a57ee09913301273c1cad77c9db3cf1fa..89107975b2b1bca791d6fbdcc6d6244e2f05b795 100644 (file)
@@ -59,17 +59,15 @@ localtime_r \- transform date and time to broken-down time or ASCII
 Feature Test Macro Requirements for glibc (see
 .BR feature_test_macros (7)):
 .RE
-.ad l
 .PP
 .BR asctime_r (),
 .BR ctime_r (),
 .BR gmtime_r (),
 .BR localtime_r ():
-.RS
-_POSIX_C_SOURCE
-    || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
-.RE
-.ad
+.nf
+    _POSIX_C_SOURCE
+        || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
+.fi
 .SH DESCRIPTION
 The
 .BR ctime (),
@@ -309,11 +307,11 @@ expressed as a value of type
 On error,
 .BR mktime ()
 returns the value
-.IR "(time_t)\ -1" .
+.IR "(time_t)\ \-1" .
 The remaining functions return NULL on error.
 On error,
 .I errno
-is set to indicate the cause of the error.
+is set to indicate the error.
 .SH ERRORS
 .TP
 .B EOVERFLOW
@@ -322,22 +320,26 @@ The result cannot be represented.
 For an explanation of the terms used in this section, see
 .BR attributes (7).
 .ad l
+.nh
 .TS
 allbox;
-lbw14 lb lbw31
+lb lb lbx
 l l l.
 Interface      Attribute       Value
 T{
 .BR asctime ()
-T}     Thread safety   MT-Unsafe race:asctime locale
+T}     Thread safety   T{
+MT-Unsafe race:asctime locale
+T}
 T{
 .BR asctime_r ()
-T}     Thread safety   MT-Safe locale
+T}     Thread safety   T{
+MT-Safe locale
+T}
 T{
 .BR ctime ()
 T}     Thread safety   T{
 MT-Unsafe race:tmbuf
-.br
 race:asctime env locale
 T}
 T{
@@ -345,13 +347,19 @@ T{
 .BR gmtime_r (),
 .BR localtime_r (),
 .BR mktime ()
-T}     Thread safety   MT-Safe env locale
+T}     Thread safety   T{
+MT-Safe env locale
+T}
 T{
 .BR gmtime (),
 .BR localtime ()
-T}     Thread safety   MT-Unsafe race:tmbuf env locale
+T}     Thread safety   T{
+MT-Unsafe race:tmbuf env locale
+T}
 .TE
+.hy
 .ad
+.sp 1
 .SH CONFORMING TO
 POSIX.1-2001.
 C89 and C99 specify