diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-18 10:48:24 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-18 10:48:24 (EDT) |
commit | b7775e4610de8d92d73a1321f3127f1646c76762 (patch) | |
tree | 0ad2d27c97505e1102e46b82563f4c86f1050776 /lib | |
parent | 7d5bb275dbe5c80bcb743150b1ae4463bc708333 (diff) |
ob_rfc822_mktime(), ob_*_gmtime(): Add "(3)" to C function manual references
Diffstat (limited to 'lib')
-rw-r--r-- | lib/time.sh | 14 |
1 files changed, 7 insertions, 7 deletions
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 |