OSDN Git Service

(split) LDP: Update original to LDP v3.52.
[linuxjm/LDP_man-pages.git] / original / man3 / strptime.3
index c5332a8..1630a76 100644 (file)
@@ -141,7 +141,9 @@ The locale's equivalent of AM or PM.
 The 12-hour clock time (using the locale's AM or PM).
 In the POSIX locale equivalent to
 .BR "%I:%M:%S %p" .
-If \fIt_fmt_ampm\fP is empty in the
+If
+.I t_fmt_ampm
+is empty in the
 .B LC_TIME
 part of the current locale
 then the behavior is undefined.
@@ -255,7 +257,10 @@ The year (offset from
 .BR %C )
 using the locale's alternative numeric symbols.
 .LP
-The broken-down time structure \fItm\fP is defined in \fI<time.h>\fP
+The broken-down time structure
+.I tm
+is defined in
+.IR <time.h>
 as follows:
 .sp
 .in +4n
@@ -291,9 +296,13 @@ returns NULL.
 SUSv2, POSIX.1-2001.
 .SH NOTES
 .LP
-In principle, this function does not initialize \fItm\fP but
+In principle, this function does not initialize
+.I tm
+but
 stores only the values specified.
-This means that \fItm\fP should be initialized before the call.
+This means that
+.I tm
+should be initialized before the call.
 Details differ a bit between different UNIX systems.
 The glibc implementation does not touch those fields which are not
 explicitly specified, except that it recomputes the
@@ -328,12 +337,15 @@ For reasons of symmetry, glibc tries to support for
 .BR strptime ()
 the same format characters as for
 .BR strftime (3).
-(In most cases the corresponding fields are parsed, but no field in \fItm\fP
+(In most cases the corresponding fields are parsed, but no field in
+.I tm
 is changed.)
 This leads to
 .TP
 .B %F
-Equivalent to \fB%Y-%m-%d\fP, the ISO 8601 date format.
+Equivalent to
+.BR %Y-%m-%d ,
+the ISO 8601 date format.
 .TP
 .B %g
 The year corresponding to the ISO week number, but without the century