small improvement for epoll_ctl.2
Hello.
tmp/epoll_ctl.2 2010-08-14 09:51:09.000000000 +0400 renamed from man2/epoll_ctl.2 2010-03-26 17:46:41.000000000 +0300 +3 -3
@@ -81,12 +81,12 @@ typedef union epoll_data { void *ptr; int fd; - __uint32_t u32; - __uint64_t u64; + uint32_t u32; + uint64_t u64; } epoll_data_t; struct epoll_event { - __uint32_t events; /* Epoll events */ + uint32_t events; /* Epoll events */ epoll_data_t data; /* User data variable */ }; .fi
Signature · 2 lines
Best Regards, Yuri Kozlov
tmp/epoll_ctl.2 renamed from man2/epoll_ctl.2 +3 -3
@@ -81,12 +81,12 @@ typedef union epoll_data { void *ptr; int fd; - __uint32_t u32; - __uint64_t u64; + uint32_t u32; + uint64_t u64; } epoll_data_t; struct epoll_event { - __uint32_t events; /* Epoll events */ + uint32_t events; /* Epoll events */ epoll_data_t data; /* User data variable */ }; .fi
A message that is not in the archive (sent off-list or not yet received): 20100814095315.0b88bf18-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org
Hello Yuri,
Thanks. Applied for 3.26.
Cheers,
Michael
Quoted 26 lines · Yuri Kozlov
Hello.
tmp/epoll_ctl.2 2010-08-14 09:51:09.000000000 +0400 renamed from man2/epoll_ctl.2 2010-03-26 17:46:41.000000000 +0300 +3
-3@@ -81,12 +81,12 @@ typedef union epoll_data { void *ptr; int fd; - __uint32_t u32; - __uint64_t u64; + uint32_t u32; + uint64_t u64; } epoll_data_t; struct epoll_event { - __uint32_t events; /* Epoll events */ + uint32_t events; /* Epoll events */
epoll_data_tdata; /* User data variable */ };
.fi--
Best Regards,
Yuri Kozlov
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 16 lines · On 2010/8/14 Yuri Kozlov wrote:
Hello.
tmp/epoll_ctl.2 2010-08-14 09:51:09.000000000 +0400 renamed from man2/epoll_ctl.2 2010-03-26 17:46:41.000000000 +0300 +3
-3@@ -81,12 +81,12 @@ typedef union epoll_data { void *ptr; int fd; - __uint32_t u32; - __uint64_t u64; + uint32_t u32; + uint64_t u64; } epoll_data_t; struct epoll_event { - __uint32_t events; /* Epoll events */ + uint32_t events; /* Epoll events */
Quoted 3 lines
epoll_data_tdata; /* User data variable */ };
.fi
Hello Michael,
This patch (found in e4123e51) breaks alignment of C comments, usually you align them when describing data structures.
Denis
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): AANLkTimYDbQ5F2kFDF+rn2JFS7g42VvmrYq7679N4XWJ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 23 lines · Denis Barbier
Quoted 16 lines · On 2010/8/14 Yuri Kozlov wrote:
Hello.
tmp/epoll_ctl.2 2010-08-14 09:51:09.000000000 +0400 renamed from man2/epoll_ctl.2 2010-03-26 17:46:41.000000000 +0300 +3
-3@@ -81,12 +81,12 @@ typedef union epoll_data { void *ptr; int fd; - __uint32_t u32; - __uint64_t u64; + uint32_t u32; + uint64_t u64; } epoll_data_t; struct epoll_event { - __uint32_t events; /* Epoll events */ + uint32_t events; /* Epoll events */Quoted 3 lines
epoll_data_tdata; /* User data variable */ };
.fiHello Michael,
Quoted 4 lines
This patch (found in
e4123e51) breaks alignment of C comments, usually you align them when describing data structures.Denis
Thanks Denis,
Fixed now.
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html