From 490f8d7888f182c08d8e83e38cd281c8f867b0a3 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Sat, 30 Mar 2019 08:15:58 +0100 Subject: 10682 strftime(3c): Replace (char *)0 by NULL Reviewed by: Gergő Mihály Doma Reviewed by: Toomas Soome Approved by: Dan McDonald MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/man/man3c/strftime.3c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr/src/man/man3c') 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 .\" -.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 -- cgit v1.2.3