diff options
| author | Giorgos Keramidas <keramida@FreeBSD.org> | 2003-05-24 00:01:31 +0000 |
|---|---|---|
| committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2003-05-24 00:01:31 +0000 |
| commit | 2b49c5b096e7c4f8d62a5e201a72329aa8919ed7 (patch) | |
| tree | 0749c571864dfa9713185662313a0d419948ef08 /lib/libc/stdtime | |
| parent | c1e04daf9c74a44e6a4b8ebcf97eb2bdd60cbaea (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdtime')
| -rw-r--r-- | lib/libc/stdtime/strftime.3 | 9 | ||||
| -rw-r--r-- | lib/libc/stdtime/strptime.3 | 14 |
2 files changed, 19 insertions, 4 deletions
diff --git a/lib/libc/stdtime/strftime.3 b/lib/libc/stdtime/strftime.3 index 172a6a684920..633cc33da8c1 100644 --- a/lib/libc/stdtime/strftime.3 +++ b/lib/libc/stdtime/strftime.3 @@ -36,7 +36,7 @@ .\" @(#)strftime.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd October 4, 1997 +.Dd January 4, 2003 .Dt STRFTIME 3 .Os .Sh NAME @@ -47,7 +47,12 @@ .Sh SYNOPSIS .In time.h .Ft size_t -.Fn strftime "char *buf" "size_t maxsize" "const char *format" "const struct tm *timeptr" +.Fo strftime +.Fa "char * restrict buf" +.Fa "size_t maxsize" +.Fa "const char * restrict format" +.Fa "const struct tm * restrict timeptr" +.Fc .Sh DESCRIPTION The .Fn strftime diff --git a/lib/libc/stdtime/strptime.3 b/lib/libc/stdtime/strptime.3 index efd6b39a06ac..1d7eb7f7c00c 100644 --- a/lib/libc/stdtime/strptime.3 +++ b/lib/libc/stdtime/strptime.3 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" " -.Dd May 8, 1997 +.Dd January 4, 2003 .Dt STRPTIME 3 .Os .Sh NAME @@ -36,7 +36,11 @@ .Sh SYNOPSIS .In time.h .Ft char * -.Fn strptime "const char *buf" "const char *format" "struct tm *timeptr" +.Fo strptime +.Fa "const char * restrict buf" +.Fa "const char * restrict format" +.Fa "struct tm * restrict timeptr" +.Fc .Sh DESCRIPTION The .Fn strptime @@ -160,3 +164,9 @@ This limitation is because of ambiguity due to of the over loading of time zone abbreviations. One such example is .Fa EST which is both Eastern Standard Time and Eastern Australia Summer Time. +.Pp +The +.Fn strptime +function does not correctly handle multibyte characters in the +.Fa format +argument. |
