Loading...
stdtime/FreeBSD/strftime.3 Libc-1725.40.4 Libc-763.12
--- Libc/Libc-1725.40.4/stdtime/FreeBSD/strftime.3
+++ Libc/Libc-763.12/stdtime/FreeBSD/strftime.3
@@ -36,8 +36,7 @@
 .Dt STRFTIME 3
 .Os
 .Sh NAME
-.Nm strftime ,
-.Nm strftime_l
+.Nm strftime
 .Nd format date and time
 .Sh LIBRARY
 .Lb libc
@@ -45,20 +44,10 @@
 .In time.h
 .Ft size_t
 .Fo strftime
-.Fa "char *restrict s"
+.Fa "char * restrict buf"
 .Fa "size_t maxsize"
-.Fa "const char *restrict format"
-.Fa "const struct tm *restrict timeptr"
-.Fc
-.In time.h
-.In xlocale.h
-.Ft size_t
-.Fo strftime_l
-.Fa "char *restrict s"
-.Fa "size_t maxsize"
-.Fa "const char *restrict format"
-.Fa "const struct tm *restrict timeptr"
-.Fa "locale_t loc"
+.Fa "const char * restrict format"
+.Fa "const struct tm * restrict timeptr"
 .Fc
 .Sh DESCRIPTION
 The
@@ -66,7 +55,7 @@
 function formats the information from
 .Fa timeptr
 into the buffer
-.Fa s ,
+.Fa buf
 according to the string pointed to by
 .Fa format .
 .Pp
@@ -89,14 +78,6 @@
 returns the number of characters in the array, not counting the
 terminating NUL.
 Otherwise, zero is returned and the buffer contents are indeterminate.
-.Pp
-Although the
-.Fn strftime
-function uses the current locale, the
-.Fn strftime_l
-function may be passed a locale directly. See
-.Xr xlocale 3
-for more information.
 .Pp
 The conversion specifications are copied to the buffer after expansion
 as follows:-
@@ -252,8 +233,7 @@
 .Xr ctime 3 ,
 .Xr printf 3 ,
 .Xr strptime 3 ,
-.Xr wcsftime 3 ,
-.Xr xlocale 3
+.Xr wcsftime 3
 .Sh STANDARDS
 The
 .Fn strftime
@@ -280,12 +260,11 @@
 .Ql %u ,
 .Ql \&%V ,
 .Ql %z ,
-and
 .Ql %+ .
 .Pp
 The peculiar week number and year in the replacements of
 .Ql %G ,
-.Ql %g ,
+.Ql %g
 and
 .Ql \&%V
 are defined in ISO 8601: 1988.