From 2889537ee68dacbdd9c8ea4e2053e03e86219c24 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 8 Oct 2024 11:54:10 -0400 Subject: Adjust in/out parameter docs --- src/xtime.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/xtime.h') diff --git a/src/xtime.h b/src/xtime.h index 7a1cf99..11f2bf9 100644 --- a/src/xtime.h +++ b/src/xtime.h @@ -13,9 +13,9 @@ /** * mktime() wrapper that reports errors more reliably. * - * @tm (in+out) - * The struct tm to convert. - * @timep (out) + * @tm[in,out] + * The struct tm to convert and normalize. + * @timep[out] * A pointer to the result. * @return * 0 on success, -1 on failure. @@ -25,9 +25,9 @@ int xmktime(struct tm *tm, time_t *timep); /** * A portable timegm(), the inverse of gmtime(). * - * @tm (in+out) - * The struct tm to convert. - * @timep (out) + * @tm[in,out] + * The struct tm to convert and normalize. + * @timep[out] * A pointer to the result. * @return * 0 on success, -1 on failure. @@ -39,7 +39,7 @@ int xtimegm(struct tm *tm, time_t *timep); * * @str * The string to parse. - * @result (out) + * @result[out] * A pointer to the result. * @return * 0 on success, -1 on failure. -- cgit v1.2.3