Re: [PATCH v2 2/4] tm.3type: widen member alignment to take up to const char *

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

 





On 7/19/22 17:35, наб wrote:
This lets us take const char *tm_zone.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>

Patches v2 1/4 and 2/4 applied.

Thanks,

Alex

---
  man3/tm.3type | 18 +++++++++---------
  1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/man3/tm.3type b/man3/tm.3type
index 15284c687..78e05a41a 100644
--- a/man3/tm.3type
+++ b/man3/tm.3type
@@ -14,17 +14,17 @@ Standard C library
  .B #include <time.h>
  .PP
  .B struct tm {
-.BR "    int  tm_sec;" "    /* Seconds          [" 0 ", " 60 "] */"
-.BR "    int  tm_min;" "    /* Minutes          [" 0 ", " 59 "] */"
-.BR "    int  tm_hour;" "   /* Hour             [" 0 ", " 23 "] */"
-.BR "    int  tm_mday;" "   /* Day of the month [" 1 ", " 31 "] */"
-.BR "    int  tm_mon;" "    /* Month            [" 0 ", " 11 "]  (January = " 0 ") */"
-.BR "    int  tm_year;" "   /* Year minus " 1900 " */"
-.BR "    int  tm_wday;" \
+.BR "    int         tm_sec;" "    /* Seconds          [" 0 ", " 60 "] */"
+.BR "    int         tm_min;" "    /* Minutes          [" 0 ", " 59 "] */"
+.BR "    int         tm_hour;" "   /* Hour             [" 0 ", " 23 "] */"
+.BR "    int         tm_mday;" "   /* Day of the month [" 1 ", " 31 "] */"
+.BR "    int         tm_mon;" "    /* Month            [" 0 ", " 11 "]  (January = " 0 ") */"
+.BR "    int         tm_year;" "   /* Year minus " 1900 " */"
+.BR "    int         tm_wday;" \
  "   /* Day of the week  [" 0 ", " 6 "]   (Sunday = " 0 ") */"
-.BR "    int  tm_yday;" \
+.BR "    int         tm_yday;" \
  "   /* Day of the year  [" 0 ", " 365 "] (Jan/01 = " 0 ") */"
-.BR "    int  tm_isdst;" "  /* Daylight savings flag */"
+.BR "    int         tm_isdst;" "  /* Daylight savings flag */"
  .B };
  .fi
  .SH DESCRIPTION

--
Alejandro Colomar
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux