Module Name: src Committed By: wiz Date: Fri Dec 26 14:15:18 UTC 2014
Modified Files: src/share/man/man9: clock.9 Log Message: Fix description of days_in_month. Based on email from Kamil Rytarowski. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man9/clock.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/clock.9 diff -u src/share/man/man9/clock.9:1.1 src/share/man/man9/clock.9:1.2 --- src/share/man/man9/clock.9:1.1 Mon Dec 22 18:02:52 2014 +++ src/share/man/man9/clock.9 Fri Dec 26 14:15:18 2014 @@ -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 @@ functions. .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