aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-08-24 00:20:49 +0200
committerAlejandro Colomar <alx@kernel.org>2024-08-24 00:20:55 +0200
commit6a7f1461b0e5474d50ef1920558dec103c0c058f (patch)
treed0430e6381a8bc1fafc1bc45a63d85144b47dc8b
parente541b219854e6be90b5628f88cd62edb44c9e9f2 (diff)
downloadman-pages-6a7f1461b0e5474d50ef1920558dec103c0c058f.tar.gz
ctime.3: Move NOTES to a subsection within CAVEATS
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man3/ctime.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man3/ctime.3 b/man/man3/ctime.3
index 84d140c71c..0ad2b530f9 100644
--- a/man/man3/ctime.3
+++ b/man/man3/ctime.3
@@ -385,7 +385,8 @@ POSIX.1-1996.
Marked obsolescent in POSIX.1-2008.
Removed in POSIX.1-2024 (recommending
.BR strftime (3)).
-.SH NOTES
+.SH CAVEATS
+.SS Thread safety
The four functions
.BR asctime (),
.BR ctime (),
@@ -415,7 +416,6 @@ Execution of any of the functions that return a pointer to one of these
object types may overwrite the information in any object of the same type
pointed to by the value returned from any previous call to any of them."
This can occur in the glibc implementation.
-.SH CAVEATS
.SS mktime()
.I (time_t) \-1
can represent a valid time