summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
authorMarcel Telka <marcel@telka.sk>2019-03-30 08:15:58 +0100
committerDan McDonald <danmcd@joyent.com>2019-04-09 19:49:20 -0400
commit490f8d7888f182c08d8e83e38cd281c8f867b0a3 (patch)
tree04e53033de571a28ba1954dffd18c3fcd533fb4d /usr/src/man/man3c
parent12e9eaaed8879c4b56117e0ea40df0a2d2e16b0e (diff)
downloadillumos-joyent-490f8d7888f182c08d8e83e38cd281c8f867b0a3.tar.gz
10682 strftime(3c): Replace (char *)0 by NULL
Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/strftime.3c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/man/man3c/strftime.3c b/usr/src/man/man3c/strftime.3c
index 4ee905324b..269213fed4 100644
--- a/usr/src/man/man3c/strftime.3c
+++ b/usr/src/man/man3c/strftime.3c
@@ -46,7 +46,7 @@
.\" Copyright (c) 2014 Gary Mills
.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
.\"
-.TH STRFTIME 3C "Jun 24, 2014"
+.TH STRFTIME 3C "Mar 30, 2019"
.SH NAME
strftime, strftime_l cftime, ascftime \- convert date and time to string
.SH SYNOPSIS
@@ -75,7 +75,6 @@ strftime, strftime_l cftime, ascftime \- convert date and time to string
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBstrftime()\fR, \fBstrftime_l()\fR, \fBascftime()\fR, and \fBcftime()\fR
functions place
@@ -91,7 +90,7 @@ that overlap, the behavior is undefined. For \fBstrftime()\fR, no more than
behaves identically to \fBstrftime()\fR function, but instead of operating in
the current locale, it operates in the locale specified by \fIloc\fR.
.LP
-If \fIformat\fR is \fB(char *)0\fR, then the locale's default format is used.
+If \fIformat\fR is \fBNULL\fR, then the locale's default format is used.
For \fBstrftime()\fR the default format is the same as \fB%c\fR; for
\fBcftime()\fR and \fBascftime()\fR the default format is the same as \fB%+\fR.
\fBcftime()\fR and \fBascftime()\fR first try to use the value of the