Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Fix description of days_in_month. Based on em...



details:   https://anonhg.NetBSD.org/src/rev/dd091531dc96
branches:  trunk
changeset: 805250:dd091531dc96
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Dec 26 14:15:18 2014 +0000

description:
Fix description of days_in_month. Based on email from Kamil
Rytarowski.

diffstat:

 share/man/man9/clock.9 |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r efea6650581a -r dd091531dc96 share/man/man9/clock.9
--- a/share/man/man9/clock.9    Fri Dec 26 12:45:57 2014 +0000
+++ b/share/man/man9/clock.9    Fri Dec 26 14:15:18 2014 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: clock.9,v 1.1 2014/12/22 18:02:52 wiz Exp $
+.\"     $NetBSD: clock.9,v 1.2 2014/12/26 14:15:18 wiz Exp $
 .\"
 .\" Copyright (c) 2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -26,7 +26,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 20, 2014
+.Dd December 26, 2014
 .Dt CLOCK 9
 .Os
 .Sh NAME
@@ -58,7 +58,9 @@
 .Sh FUNCTIONS
 The
 .Fn days_in_month
-function takes as the input parameter number of days in the given month.
+function returns the number of days in the given month.
+.Fn days_in_month
+assumes 28 days for February.
 If the input value is out of the valid range (1-12) then the function returns
 \-1.
 .Pp



Home | Main Index | Thread Index | Old Index