From b7775e4610de8d92d73a1321f3127f1646c76762 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 18 Jun 2019 10:48:24 -0400 Subject: ob_rfc822_mktime(), ob_*_gmtime(): Add "(3)" to C function manual references --- (limited to 'lib') diff --git a/lib/time.sh b/lib/time.sh index 64843f5..661aa62 100644 --- a/lib/time.sh +++ b/lib/time.sh @@ -97,7 +97,7 @@ _ob_mon_to_m() ## @brief Convert a date and time into seconds since the Epoch ## @details \fBob_rfc822_mktime\fP() converts date and time formatted according ## to RFCs 822, 2822, and 5322 into non-leap seconds elapsed since the -## Epoch. It is similar to the C function \fBmktime\fP() except that +## Epoch. It is similar to the C function \fBmktime\fP(3) except that ## it accepts a formatted string instead of a structure as its ## argument. It is intended to parse \fIchangelog\fP dates into a time ## value usable in the \fISOURCE_DATE_EPOCH\fP environment variable. @@ -174,10 +174,10 @@ _ob_gmtime() ## @brief Convert seconds since the Epoch into a date and time ## @details \fBob_iso8601_gmtime\fP() converts the number of non-leap seconds ## elapsed since the Epoch into date and time in UTC formatted -## according to ISO 8601. It is similar to the C function \fBgmtime\fP -## except that it returns a formatted string instead of a structure. -## It is intended to generate a date and time usable with a -## POSIX-conformant \fBtouch\fP utility. +## according to ISO 8601. It is similar to the C function +## \fBgmtime\fP(3) except that it returns a formatted string instead of +## a structure. It is intended to generate a date and time usable with +## a POSIX-conformant \fBtouch\fP utility. ## @operand timep req The number of non-leap seconds elapsed since the Epoch. ## @return Returns 0. ## @stdout Prints the date and time in UTC formatted according to ISO 8601. @@ -195,8 +195,8 @@ ob_iso8601_gmtime() ## @details \fBob_touch_t_gmtime\fP() converts the number of non-leap seconds ## elapsed since the Epoch into date and time in UTC formatted for the ## \fB-t\fP option of the \fBtouch\fP utility according to POSIX. It -## is similar to the C function \fBgmtime\fP except that it returns a -## formatted string instead of a structure. +## is similar to the C function \fBgmtime\fP(3) except that it returns +## a formatted string instead of a structure. ## @operand timep req The number of non-leap seconds elapsed since the Epoch. ## @return Returns 0. ## @stdout Prints the date and time in UTC formatted for the \fBtouch\fP -- cgit v0.9.1