linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/24] Yet more prototype fixes
@ 2014-05-21 14:57 Rasmus Villemoes
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  0 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

Here's another round of prototype fixes, with various other small
things mixed in.

Rasmus Villemoes (24):
  inet.3: Fix prototype
  makecontext.3: Fix prototype
  makedev.3: Fix prototype
  malloc_trim.3: Fix prototype
  mq_getattr.3: Fix prototype
  perror.3: Fix declaration
  pthread_sigqueue.3: Include needed header
  pthread_attr_set*.3: Constify parameters
  pthread_cleanup_push_defer_np.3: Mention feature test macro
  pthread_setname_np.3: Fix prototype
  pthread_setschedparam.3: Fix prototypes
  pthread_setschedprio.3: Fix prototype
  rcmd.3: Fix prototypes
  re_comp.3: Fix prototypes
  rexec.3: Fix prototypes
  rtime.3: Replace header
  resolver.3: Fix prototypes and extern-declaration
  scandir.3: Fix prototypes
  sigvec.3: Fix prototype
  setnetgrent.3: Fix prototype
  tsearch.3: Fix prototype
  getauxval.3: Fix permissions
  key_setsecret.3: Fix prototypes
  xdr.3: tfix

 man3/getauxval.3                     |  0
 man3/inet.3                          |  2 +-
 man3/key_setsecret.3                 |  6 +++---
 man3/makecontext.3                   |  2 +-
 man3/makedev.3                       |  2 +-
 man3/malloc_trim.3                   |  2 +-
 man3/mq_getattr.3                    |  2 +-
 man3/perror.3                        |  4 ++--
 man3/pthread_attr_setaffinity_np.3   |  2 +-
 man3/pthread_attr_setdetachstate.3   |  2 +-
 man3/pthread_attr_setguardsize.3     |  2 +-
 man3/pthread_attr_setinheritsched.3  |  2 +-
 man3/pthread_attr_setschedparam.3    |  2 +-
 man3/pthread_attr_setschedpolicy.3   |  2 +-
 man3/pthread_attr_setscope.3         |  2 +-
 man3/pthread_attr_setstack.3         |  2 +-
 man3/pthread_attr_setstackaddr.3     |  2 +-
 man3/pthread_attr_setstacksize.3     |  2 +-
 man3/pthread_cleanup_push_defer_np.3 |  1 +
 man3/pthread_setname_np.3            |  2 +-
 man3/pthread_setschedparam.3         |  8 ++++----
 man3/pthread_setschedprio.3          |  2 +-
 man3/pthread_sigqueue.3              | 12 +++---------
 man3/rcmd.3                          |  6 +++---
 man3/re_comp.3                       |  4 ++--
 man3/resolver.3                      | 16 ++++++++--------
 man3/rexec.3                         |  8 ++++----
 man3/rtime.3                         |  2 +-
 man3/scandir.3                       |  4 ++--
 man3/setnetgrent.3                   |  2 +-
 man3/sigvec.3                        |  2 +-
 man3/tsearch.3                       |  2 +-
 man3/xdr.3                           |  2 +-
 33 files changed, 54 insertions(+), 59 deletions(-)
 mode change 100755 => 100644 man3/getauxval.3

-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* [PATCH 01/24] inet.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 02/24] makecontext.3: " Rasmus Villemoes
                     ` (23 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The parameters to inet_makeaddr have type in_addr_t.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---

Notes:
    The glibc header seems to have changed in ad483238a1ef, while the
    implementation followed two years later in bf2cc5fb028f.

 man3/inet.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/inet.3 b/man3/inet.3
index fff0308..0c61b49 100644
--- a/man3/inet.3
+++ b/man3/inet.3
@@ -57,7 +57,7 @@ inet_netof \- Internet address manipulation routines
 .sp
 .BI "char *inet_ntoa(struct in_addr " in );
 .sp
-.BI "struct in_addr inet_makeaddr(int " net ", int " host );
+.BI "struct in_addr inet_makeaddr(in_addr_t " net ", in_addr_t " host );
 .sp
 .BI "in_addr_t inet_lnaof(struct in_addr " in );
 .sp
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 02/24] makecontext.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 01/24] inet.3: Fix prototype Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-3-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 03/24] makedev.3: " Rasmus Villemoes
                     ` (22 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The second argument to swapcontext() is const.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/makecontext.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/makecontext.3 b/man3/makecontext.3
index 1e0e991..e57060d 100644
--- a/man3/makecontext.3
+++ b/man3/makecontext.3
@@ -34,7 +34,7 @@ makecontext, swapcontext \- manipulate user context
 .BI "void makecontext(ucontext_t *" ucp ", void (*" func )(),
 .BI "int " argc ", ...);"
 .sp
-.BI "int swapcontext(ucontext_t *" oucp ", ucontext_t *" ucp );
+.BI "int swapcontext(ucontext_t *" oucp ", const ucontext_t *" ucp );
 .SH DESCRIPTION
 In a System V-like environment, one has the type \fIucontext_t\fP defined in
 .I <ucontext.h>
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 03/24] makedev.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 01/24] inet.3: Fix prototype Rasmus Villemoes
  2014-05-21 14:57   ` [PATCH 02/24] makecontext.3: " Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-4-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 04/24] malloc_trim.3: " Rasmus Villemoes
                     ` (21 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

gnu_dev_makedev, and hence its trivial macro wrapper makedev, takes
two unsigned int parameters; this is consistent with it being the
inverse of (gnu_dev_)major/minor, which return unsigned int.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/makedev.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/makedev.3 b/man3/makedev.3
index e2038fb..bb63a4d 100644
--- a/man3/makedev.3
+++ b/man3/makedev.3
@@ -31,7 +31,7 @@ makedev, major, minor \- manage a device number
 .BR "#define _BSD_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <sys/types.h>
 
-.BI "dev_t makedev(int " maj ", int " min );
+.BI "dev_t makedev(unsigned int " maj ", unsigned int " min );
 
 .BI "unsigned int major(dev_t " dev );
 .BI "unsigned int minor(dev_t " dev );
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 04/24] malloc_trim.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (2 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 03/24] makedev.3: " Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 05/24] mq_getattr.3: " Rasmus Villemoes
                     ` (20 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

As mentioned further down, malloc_trim returns an integer.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/malloc_trim.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/malloc_trim.3 b/man3/malloc_trim.3
index 4c9bf48..bdcafbd 100644
--- a/man3/malloc_trim.3
+++ b/man3/malloc_trim.3
@@ -29,7 +29,7 @@ malloc_trim \- release free memory from the top of the heap
 .SH SYNOPSIS
 .B #include <malloc.h>
 
-.BI "void malloc_trim(size_t "  pad );
+.BI "int malloc_trim(size_t "  pad );
 .SH DESCRIPTION
 The
 .BR malloc_trim ()
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 05/24] mq_getattr.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (3 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 04/24] malloc_trim.3: " Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 06/24] perror.3: Fix declaration Rasmus Villemoes
                     ` (19 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The newattr parameter to mq_setattr is const.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/mq_getattr.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/mq_getattr.3 b/man3/mq_getattr.3
index 121faa1..dbe8125 100644
--- a/man3/mq_getattr.3
+++ b/man3/mq_getattr.3
@@ -32,7 +32,7 @@ mq_getattr, mq_setattr \- get/set message queue attributes
 .sp
 .BI "int mq_getattr(mqd_t " mqdes ", struct mq_attr *" attr );
 
-.BI "int mq_setattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
+.BI "int mq_setattr(mqd_t " mqdes ", const struct mq_attr *" newattr ","
 .BI "                 struct mq_attr *" oldattr );
 .fi
 .sp
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 06/24] perror.3: Fix declaration
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (4 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 05/24] mq_getattr.3: " Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-7-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 07/24] pthread_sigqueue.3: Include needed header Rasmus Villemoes
                     ` (18 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The elements of the array sys_errlist are also const.

Also, it is probably not desirable to pretend that errno.h defines
errno in the traditional way (errno(3) correctly contains an explicit
warning against this). I don't know what the best solution is, though.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/perror.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/perror.3 b/man3/perror.3
index 57580a9..34f3ec5 100644
--- a/man3/perror.3
+++ b/man3/perror.3
@@ -38,11 +38,11 @@ perror \- print a system error message
 .sp
 .B #include <errno.h>
 .sp
-.BI "const char *" sys_errlist [];
+.BI "const char * const " sys_errlist [];
 .br
 .BI "int " sys_nerr ;
 .br
-.BI "int " errno ;
+.BI "int " errno "; /* Not really declared this way; see errno(3). */"
 .sp
 .in -4n
 Feature Test Macro Requirements for glibc (see
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 07/24] pthread_sigqueue.3: Include needed header
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (5 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 06/24] perror.3: Fix declaration Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-8-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 08/24] pthread_attr_set*.3: Constify parameters Rasmus Villemoes
                     ` (17 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

One needs to #include <signal.h> to get a declaration of
pthread_sigqueue.

Also, abbreviate the FTM needed to expose it.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/pthread_sigqueue.3 | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/man3/pthread_sigqueue.3 b/man3/pthread_sigqueue.3
index 84611ef..8ad0b63 100644
--- a/man3/pthread_sigqueue.3
+++ b/man3/pthread_sigqueue.3
@@ -27,21 +27,15 @@
 pthread_sigqueue \- queue a signal and data to a thread
 .SH SYNOPSIS
 .nf
+.BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <pthread.h>
+.B #include <signal.h>
 
 .BI "int pthread_sigqueue(pthread_t " thread ", int " sig ,
 .BI "                     const union sigval " value );
-.fi
 .sp
 Compile and link with \fI\-pthread\fP.
-.sp
-.in -4n
-Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
-.in
-.sp
-.BR pthread_sigqueue ():
-_GNU_SOURCE
+.fi
 .SH DESCRIPTION
 The
 .BR pthread_sigqueue ()
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 08/24] pthread_attr_set*.3: Constify parameters
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (6 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 07/24] pthread_sigqueue.3: Include needed header Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-9-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 09/24] pthread_cleanup_push_defer_np.3: Mention feature test macro Rasmus Villemoes
                     ` (16 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

Each of the pthread_attr_get* functions extract some piece of
information from a pthread_attr_t, which is passed by const
reference. Add the const keyword to the prototypes of these functions:

pthread_attr_getaffinity_np
pthread_attr_getdetachstate
pthread_attr_getguardsize
pthread_attr_getinheritsched
pthread_attr_getschedparam
pthread_attr_getschedpolicy
pthread_attr_getscope
pthread_attr_getstack
pthread_attr_getstackaddr
pthread_attr_getstacksize

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/pthread_attr_setaffinity_np.3  | 2 +-
 man3/pthread_attr_setdetachstate.3  | 2 +-
 man3/pthread_attr_setguardsize.3    | 2 +-
 man3/pthread_attr_setinheritsched.3 | 2 +-
 man3/pthread_attr_setschedparam.3   | 2 +-
 man3/pthread_attr_setschedpolicy.3  | 2 +-
 man3/pthread_attr_setscope.3        | 2 +-
 man3/pthread_attr_setstack.3        | 2 +-
 man3/pthread_attr_setstackaddr.3    | 2 +-
 man3/pthread_attr_setstacksize.3    | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/man3/pthread_attr_setaffinity_np.3 b/man3/pthread_attr_setaffinity_np.3
index e99cc58..4ae27d8 100644
--- a/man3/pthread_attr_setaffinity_np.3
+++ b/man3/pthread_attr_setaffinity_np.3
@@ -34,7 +34,7 @@ CPU affinity attribute in thread attributes object
 
 .BI "int pthread_attr_setaffinity_np(pthread_attr_t *" attr ,
 .BI "                   size_t " cpusetsize ", const cpu_set_t *" cpuset );
-.BI "int pthread_attr_getaffinity_np(pthread_attr_t *" attr ,
+.BI "int pthread_attr_getaffinity_np(const pthread_attr_t *" attr ,
 .BI "                   size_t " cpusetsize ", cpu_set_t *" cpuset );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setdetachstate.3 b/man3/pthread_attr_setdetachstate.3
index dd43608..7e2f7ee 100644
--- a/man3/pthread_attr_setdetachstate.3
+++ b/man3/pthread_attr_setdetachstate.3
@@ -33,7 +33,7 @@ set/get detach state attribute in thread attributes object
 
 .BI "int pthread_attr_setdetachstate(pthread_attr_t *" attr \
 ", int " detachstate );
-.BI "int pthread_attr_getdetachstate(pthread_attr_t *" attr \
+.BI "int pthread_attr_getdetachstate(const pthread_attr_t *" attr \
 ", int *" detachstate );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setguardsize.3 b/man3/pthread_attr_setguardsize.3
index 801aae9..ca06b42 100644
--- a/man3/pthread_attr_setguardsize.3
+++ b/man3/pthread_attr_setguardsize.3
@@ -33,7 +33,7 @@ attribute in thread attributes object
 
 .BI "int pthread_attr_setguardsize(pthread_attr_t *" attr \
 ", size_t " guardsize );
-.BI "int pthread_attr_getguardsize(pthread_attr_t *" attr \
+.BI "int pthread_attr_getguardsize(const pthread_attr_t *" attr \
 ", size_t *" guardsize );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setinheritsched.3 b/man3/pthread_attr_setinheritsched.3
index a3e0e28..0f041f5 100644
--- a/man3/pthread_attr_setinheritsched.3
+++ b/man3/pthread_attr_setinheritsched.3
@@ -33,7 +33,7 @@ inherit-scheduler attribute in thread attributes object
 
 .BI "int pthread_attr_setinheritsched(pthread_attr_t *" attr ,
 .BI "                                 int " inheritsched );
-.BI "int pthread_attr_getinheritsched(pthread_attr_t *" attr ,
+.BI "int pthread_attr_getinheritsched(const pthread_attr_t *" attr ,
 .BI "                                 int *" inheritsched );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setschedparam.3 b/man3/pthread_attr_setschedparam.3
index 9a478e8..c2f0506 100644
--- a/man3/pthread_attr_setschedparam.3
+++ b/man3/pthread_attr_setschedparam.3
@@ -33,7 +33,7 @@ scheduling parameter attributes in thread attributes object
 
 .BI "int pthread_attr_setschedparam(pthread_attr_t *" attr ,
 .BI "                               const struct sched_param *" param );
-.BI "int pthread_attr_getschedparam(pthread_attr_t *" attr ,
+.BI "int pthread_attr_getschedparam(const pthread_attr_t *" attr ,
 .BI "                               struct sched_param *" param );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setschedpolicy.3 b/man3/pthread_attr_setschedpolicy.3
index 84b508a..59fe053 100644
--- a/man3/pthread_attr_setschedpolicy.3
+++ b/man3/pthread_attr_setschedpolicy.3
@@ -33,7 +33,7 @@ scheduling policy attribute in thread attributes object
 
 .BI "int pthread_attr_setschedpolicy(pthread_attr_t *" attr \
 ", int " policy );
-.BI "int pthread_attr_getschedpolicy(pthread_attr_t *" attr \
+.BI "int pthread_attr_getschedpolicy(const pthread_attr_t *" attr \
 ", int " *policy );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setscope.3 b/man3/pthread_attr_setscope.3
index 2effe6b..837b105 100644
--- a/man3/pthread_attr_setscope.3
+++ b/man3/pthread_attr_setscope.3
@@ -33,7 +33,7 @@ attribute in thread attributes object
 
 .BI "int pthread_attr_setscope(pthread_attr_t *" attr \
 ", int " scope );
-.BI "int pthread_attr_getscope(pthread_attr_t *" attr \
+.BI "int pthread_attr_getscope(const pthread_attr_t *" attr \
 ", int *" scope );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setstack.3 b/man3/pthread_attr_setstack.3
index e6ebb9f..66fd1ba 100644
--- a/man3/pthread_attr_setstack.3
+++ b/man3/pthread_attr_setstack.3
@@ -33,7 +33,7 @@ attributes in thread attributes object
 
 .BI "int pthread_attr_setstack(pthread_attr_t *" attr ,
 .BI "                          void *" stackaddr ", size_t " stacksize );
-.BI "int pthread_attr_getstack(pthread_attr_t *" attr ,
+.BI "int pthread_attr_getstack(const pthread_attr_t *" attr ,
 .BI "                          void **" stackaddr ", size_t *" stacksize );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setstackaddr.3 b/man3/pthread_attr_setstackaddr.3
index 15331ca..e4d78ee 100644
--- a/man3/pthread_attr_setstackaddr.3
+++ b/man3/pthread_attr_setstackaddr.3
@@ -33,7 +33,7 @@ set/get stack address attribute in thread attributes object
 
 .BI "int pthread_attr_setstackaddr(pthread_attr_t *" attr \
 ", void *" stackaddr );
-.BI "int pthread_attr_getstackaddr(pthread_attr_t *" attr \
+.BI "int pthread_attr_getstackaddr(const pthread_attr_t *" attr \
 ", void **" stackaddr );
 .sp
 Compile and link with \fI\-pthread\fP.
diff --git a/man3/pthread_attr_setstacksize.3 b/man3/pthread_attr_setstacksize.3
index 95a9b4f..06e7c54 100644
--- a/man3/pthread_attr_setstacksize.3
+++ b/man3/pthread_attr_setstacksize.3
@@ -33,7 +33,7 @@ attribute in thread attributes object
 
 .BI "int pthread_attr_setstacksize(pthread_attr_t *" attr \
 ", size_t " stacksize );
-.BI "int pthread_attr_getstacksize(pthread_attr_t *" attr \
+.BI "int pthread_attr_getstacksize(const pthread_attr_t *" attr \
 ", size_t *" stacksize );
 .sp
 Compile and link with \fI\-pthread\fP.
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 09/24] pthread_cleanup_push_defer_np.3: Mention feature test macro
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (7 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 08/24] pthread_attr_set*.3: Constify parameters Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-10-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 10/24] pthread_setname_np.3: Fix prototype Rasmus Villemoes
                     ` (15 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

One must define _GNU_SOURCE to get pthread_cleanup_push_defer_np and
pthread_cleanup_pop_restore_np.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/pthread_cleanup_push_defer_np.3 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/man3/pthread_cleanup_push_defer_np.3 b/man3/pthread_cleanup_push_defer_np.3
index 3538dc2..abc8bf8 100644
--- a/man3/pthread_cleanup_push_defer_np.3
+++ b/man3/pthread_cleanup_push_defer_np.3
@@ -29,6 +29,7 @@ pthread_cleanup_push_defer_np, pthread_cleanup_pop_restore_np \- push and pop
 thread cancellation clean-up handlers while saving cancelability type
 .SH SYNOPSIS
 .nf
+.BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <pthread.h>
 
 .BI "void pthread_cleanup_push_defer_np(void (*" routine ")(void *),"
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 10/24] pthread_setname_np.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (8 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 09/24] pthread_cleanup_push_defer_np.3: Mention feature test macro Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 11/24] pthread_setschedparam.3: Fix prototypes Rasmus Villemoes
                     ` (14 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The name parameter of pthread_getname_np is an output parameter and
hence not const.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/pthread_setname_np.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3
index a7c9286..b14c412 100644
--- a/man3/pthread_setname_np.3
+++ b/man3/pthread_setname_np.3
@@ -32,7 +32,7 @@ pthread_setname_np, pthread_getname_np \- set/get the name of a thread
 .B #include <pthread.h>
 .BI "int pthread_setname_np(pthread_t " thread ", const char *" name ");
 .BI "int pthread_getname_np(pthread_t " thread ,
-.BI "                       const char *" name ", size_t " len );
+.BI "                       char *" name ", size_t " len );
 .fi
 .sp
 Compile and link with \fI\-pthread\fP.
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 11/24] pthread_setschedparam.3: Fix prototypes
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (9 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 10/24] pthread_setname_np.3: Fix prototype Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-12-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 12/24] pthread_setschedprio.3: Fix prototype Rasmus Villemoes
                     ` (13 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

Add return type for pthread_{s,g}etschedparam.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/pthread_setschedparam.3 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3
index 0930eb2..7863f04 100644
--- a/man3/pthread_setschedparam.3
+++ b/man3/pthread_setschedparam.3
@@ -31,10 +31,10 @@ scheduling policy and parameters of a thread
 .nf
 .B #include <pthread.h>
 
-.BI "pthread_setschedparam(pthread_t " thread ", int " policy ,
-.BI "                      const struct sched_param *" param );
-.BI "pthread_getschedparam(pthread_t " thread ", int *" policy ,
-.BI "                      struct sched_param *" param );
+.BI "int pthread_setschedparam(pthread_t " thread ", int " policy ,
+.BI "                          const struct sched_param *" param );
+.BI "int pthread_getschedparam(pthread_t " thread ", int *" policy ,
+.BI "                          struct sched_param *" param );
 .sp
 Compile and link with \fI\-pthread\fP.
 .fi
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 12/24] pthread_setschedprio.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (10 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 11/24] pthread_setschedparam.3: Fix prototypes Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-13-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 13/24] rcmd.3: Fix prototypes Rasmus Villemoes
                     ` (12 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

Add return type for pthread_setschedprio.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/pthread_setschedprio.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/pthread_setschedprio.3 b/man3/pthread_setschedprio.3
index 334c456..04620e8 100644
--- a/man3/pthread_setschedprio.3
+++ b/man3/pthread_setschedprio.3
@@ -30,7 +30,7 @@ pthread_setschedprio \- set scheduling priority of a thread
 .nf
 .B #include <pthread.h>
 
-.BI "pthread_setschedprio(pthread_t " thread ", int " prio );
+.BI "int pthread_setschedprio(pthread_t " thread ", int " prio );
 .sp
 Compile and link with \fI\-pthread\fP.
 .fi
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 13/24] rcmd.3: Fix prototypes
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (11 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 12/24] pthread_setschedprio.3: Fix prototype Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-14-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 14/24] re_comp.3: " Rasmus Villemoes
                     ` (11 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

Unlike the BSDs, the second argument of rcmd() and rcmd_af() has
type unsigned short.

The first argument of iruserok_af() has type const void*.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/rcmd.3 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man3/rcmd.3 b/man3/rcmd.3
index 09c6457..4086fe4 100644
--- a/man3/rcmd.3
+++ b/man3/rcmd.3
@@ -49,7 +49,7 @@ stream to a remote command
 .nf
 .B #include <netdb.h> \ \ \fP/* Or <unistd.h> on some systems */
 .sp
-.BI "int rcmd(char **" ahost ", int " inport ", const char *" locuser ", "
+.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser ", "
 .BI "         const char *" remuser ", const char *" cmd ", int *" fd2p );
 .sp
 .BI "int rresvport(int *" port );
@@ -60,13 +60,13 @@ stream to a remote command
 .BI "int ruserok(const char *" rhost ", int " superuser ", "
 .BI "            const char *" ruser ", const char *" luser );
 .sp
-.BI "int rcmd_af(char **" ahost ", int " inport ", const char *" locuser ", "
+.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser ", "
 .BI "            const char *" remuser ", const char *" cmd ", int *" fd2p ,
 .BI "            sa_family_t " af );
 .sp
 .BI "int rresvport_af(int *" port ", sa_family_t " af );
 .sp
-.BI "int iruserok_af(uint32_t " raddr ", int " superuser ", "
+.BI "int iruserok_af(const void *" raddr ", int " superuser ", "
 .BI "                const char *" ruser ", const char *" luser \
 ", sa_family_t " af );
 .sp
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 14/24] re_comp.3: Fix prototypes
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (12 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 13/24] rcmd.3: Fix prototypes Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-15-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 15/24] rexec.3: " Rasmus Villemoes
                     ` (10 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

re_comp and re_exec take const char* arguments.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/re_comp.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/re_comp.3 b/man3/re_comp.3
index c1199a8..0e15598 100644
--- a/man3/re_comp.3
+++ b/man3/re_comp.3
@@ -34,9 +34,9 @@ re_comp, re_exec \- BSD regex functions
 .br
 .B #include <regex.h>
 .sp
-.BI "char *re_comp(char *" regex );
+.BI "char *re_comp(const char *" regex );
 .sp
-.BI "int re_exec(char *" string );
+.BI "int re_exec(const char *" string );
 .SH DESCRIPTION
 .BR re_comp ()
 is used to compile the null-terminated regular expression pointed to by
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 15/24] rexec.3: Fix prototypes
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (13 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 14/24] re_comp.3: " Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-16-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 16/24] rtime.3: Replace header Rasmus Villemoes
                     ` (9 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The user, passwd and cmd arguments to rexec and rexec_af are all
const.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/rexec.3 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/man3/rexec.3 b/man3/rexec.3
index b62897b..12ba477 100644
--- a/man3/rexec.3
+++ b/man3/rexec.3
@@ -46,11 +46,11 @@ rexec, rexec_af \- return stream to a remote command
 .BR "#define _BSD_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <netdb.h>
 .sp
-.BI "int rexec(char **" ahost ", int " inport ", char *" user ", "
-.BI "          char *" passwd ", char *" cmd ", int *" fd2p );
+.BI "int rexec(char **" ahost ", int " inport ", const char *" user ", "
+.BI "          const char *" passwd ", const char *" cmd ", int *" fd2p );
 .sp
-.BI "int rexec_af(char **" ahost ", int " inport ", char *" user ", "
-.BI "             char *" passwd ", char *" cmd ", int *" fd2p ,
+.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user ", "
+.BI "             const char *" passwd ", const char *" cmd ", int *" fd2p ,
 .BI "             sa_family_t " af  );
 .fi
 .SH DESCRIPTION
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 16/24] rtime.3: Replace header
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (14 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 15/24] rexec.3: " Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-17-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 17/24] resolver.3: Fix prototypes and extern-declaration Rasmus Villemoes
                     ` (8 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The header <rpc/des_crypt.h> does not provide rtime();
<rpc/auth_des.h> does, as is also implied in both the NOTES and
EXAMPLE sections.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/rtime.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/rtime.3 b/man3/rtime.3
index 2471db0..c6324a4 100644
--- a/man3/rtime.3
+++ b/man3/rtime.3
@@ -14,7 +14,7 @@
 rtime \- get time from a remote machine
 .SH SYNOPSIS
 .nf
-.B "#include <rpc/des_crypt.h>"
+.B "#include <rpc/auth_des.h>"
 .sp
 .BI "int rtime(struct sockaddr_in *" addrp ", struct rpc_timeval *" timep ,
 .BI "          struct rpc_timeval *" timeout );
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 17/24] resolver.3: Fix prototypes and extern-declaration
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (15 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 16/24] rtime.3: Replace header Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-18-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 18/24] scandir.3: Fix prototypes Rasmus Villemoes
                     ` (7 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

Fix const- and signedness of various char* parameters.

Also, there is no "struct state", but _res is a struct
__res_state. (Actually, _res is errno-like in that it is really a
macro expanding to (*__res_state()).)

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/resolver.3 | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/man3/resolver.3 b/man3/resolver.3
index a3fd2e8..4c0b03e 100644
--- a/man3/resolver.3
+++ b/man3/resolver.3
@@ -38,7 +38,7 @@ dn_comp, dn_expand \- resolver routines
 .B #include <netinet/in.h>
 .B #include <arpa/nameser.h>
 .B #include <resolv.h>
-.B extern struct state _res;
+.B extern struct __res_state _res;
 .sp
 .B int res_init(void);
 .sp
@@ -60,23 +60,23 @@ dn_comp, dn_expand \- resolver routines
 .sp
 .BI "int res_mkquery(int " op ", const char *" dname ", int " class ,
 .RS
-.BI "int " type ", char *" data ", int " datalen ", struct rrec *" newrr ,
-.BI "char *" buf ", int " buflen );
+.BI "int " type ", const unsigned char *" data ", int " datalen ,
+.BI "const unsigned char *" newrr ", unsigned char *" buf ", int " buflen );
 .RE
 .sp
-.BI "int res_send(const char *" msg ", int " msglen ", char *" answer ,
+.BI "int res_send(const unsigned char *" msg ", int " msglen ,
 .RS
-.BI "int " anslen );
+.BI "unsigned char *" answer ", int " anslen );
 .RE
 .sp
-.BI "int dn_comp(unsigned char *" exp_dn ", unsigned char *" comp_dn ,
+.BI "int dn_comp(const char *" exp_dn ", unsigned char *" comp_dn ,
 .RS
 .BI "int " length ", unsigned char **" dnptrs ", unsigned char **" lastdnptr );
 .RE
 .sp
-.BI "int dn_expand(unsigned char *" msg ", unsigned char *" eomorig ,
+.BI "int dn_expand(const unsigned char *" msg ", const unsigned char *" eomorig ,
 .RS
-.BI "unsigned char *" comp_dn ", char *" exp_dn ,
+.BI "const unsigned char *" comp_dn ", char *" exp_dn ,
 .BI "int " length );
 .RE
 .fi
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 18/24] scandir.3: Fix prototypes
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (16 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 17/24] resolver.3: Fix prototypes and extern-declaration Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-19-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 19/24] sigvec.3: Fix prototype Rasmus Villemoes
                     ` (6 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The alphasort and versionsort functions take arguments of type const
struct dirent **, not const void *.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/scandir.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/scandir.3 b/man3/scandir.3
index aee2c86..7fea26e 100644
--- a/man3/scandir.3
+++ b/man3/scandir.3
@@ -73,9 +73,9 @@ a directory for matching entries
 .BI "int (*" compar ")(const struct dirent **, const struct dirent **));"
 .RE
 .sp
-.BI "int alphasort(const void *" a ", const void *" b );
+.BI "int alphasort(const struct dirent **" a ", const struct dirent **" b );
 .sp
-.BI "int versionsort(const void *" a ", const void *" b );
+.BI "int versionsort(const struct dirent **" a ", const struct dirent **" b );
 
 .BR "#include <fcntl.h>" "          /* Definition of AT_* constants */"
 .B #include <dirent.h>
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 19/24] sigvec.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (17 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 18/24] scandir.3: Fix prototypes Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-20-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 20/24] setnetgrent.3: " Rasmus Villemoes
                     ` (5 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The vec argument to sigvec is const.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/sigvec.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/sigvec.3 b/man3/sigvec.3
index 8cc380f..4afa361 100644
--- a/man3/sigvec.3
+++ b/man3/sigvec.3
@@ -29,7 +29,7 @@ sigvec, sigblock, sigsetmask, siggetmask, sigmask \- BSD signal API
 .SH SYNOPSIS
 .B #include <signal.h>
 .sp
-.BI "int sigvec(int " sig ", struct sigvec *" vec ", struct sigvec *" ovec );
+.BI "int sigvec(int " sig ", const struct sigvec *" vec ", struct sigvec *" ovec );
 .sp
 .BI "int sigmask(int " signum );
 .sp
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 20/24] setnetgrent.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (18 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 19/24] sigvec.3: Fix prototype Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-21-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 21/24] tsearch.3: " Rasmus Villemoes
                     ` (4 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The buflen argument to getnetgrent_r has type size_t.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/setnetgrent.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/setnetgrent.3 b/man3/setnetgrent.3
index 2a85a95..25293e6 100644
--- a/man3/setnetgrent.3
+++ b/man3/setnetgrent.3
@@ -22,7 +22,7 @@ handle network group entries
 .BI "int getnetgrent(char **" host ", char **" user ", char **" domain );
 
 .BI "int getnetgrent_r(char **" host ", char **" user ","
-.BI "                  char **" domain ", char *" buf ", int " buflen );
+.BI "                  char **" domain ", char *" buf ", size_t " buflen );
 
 .BI "int innetgr(const char *" netgroup ", const char *" host ","
 .BI "            const char *" user ", const char *" domain );
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 21/24] tsearch.3: Fix prototype
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (19 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 20/24] setnetgrent.3: " Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-22-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 22/24] getauxval.3: Fix permissions Rasmus Villemoes
                     ` (3 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

The rootp argument to tfind is void *const void*, not const void **.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/tsearch.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/tsearch.3 b/man3/tsearch.3
index 83eceae..618fb54 100644
--- a/man3/tsearch.3
+++ b/man3/tsearch.3
@@ -32,7 +32,7 @@ tsearch, tfind, tdelete, twalk, tdestroy \- manage a binary tree
 .BI "void *tsearch(const void *" key ", void **" rootp ,
 .BI "                int (*" compar ")(const void *, const void *));"
 .sp
-.BI "void *tfind(const void *" key ", const void **" rootp ,
+.BI "void *tfind(const void *" key ", void *const *" rootp ,
 .BI "                int (*" compar ")(const void *, const void *));"
 .sp
 .BI "void *tdelete(const void *" key ", void **" rootp ,
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 22/24] getauxval.3: Fix permissions
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (20 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 21/24] tsearch.3: " Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-23-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 23/24] key_setsecret.3: Fix prototypes Rasmus Villemoes
                     ` (2 subsequent siblings)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

There doesn't seem to be any reason for getauxval.3 to be
executable...

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/getauxval.3 | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 man3/getauxval.3

diff --git a/man3/getauxval.3 b/man3/getauxval.3
old mode 100755
new mode 100644
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* [PATCH 23/24] key_setsecret.3: Fix prototypes
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (21 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 22/24] getauxval.3: Fix permissions Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-24-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 14:57   ` [PATCH 24/24] xdr.3: tfix Rasmus Villemoes
  2014-05-21 18:13   ` [PATCH 00/24] Yet more prototype fixes Michael Kerrisk (man-pages)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

Remove const qualifiers from arguments to key_decryptsession,
key_encryptsession, and key_setsecret.

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/key_setsecret.3 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man3/key_setsecret.3 b/man3/key_setsecret.3
index f75896e..b78cd8b 100644
--- a/man3/key_setsecret.3
+++ b/man3/key_setsecret.3
@@ -13,15 +13,15 @@ key_secretkey_is_set \- interfaces to rpc keyserver daemon
 .SH SYNOPSIS
 .B "#include <rpc/rpc.h>"
 .sp
-.BI "int key_decryptsession(const char *" remotename ,
+.BI "int key_decryptsession(char *" remotename ,
 .BI "des_block *" deskey );
 .sp
-.BI "int key_encryptsession(const char *" remotename ,
+.BI "int key_encryptsession(char *" remotename ,
 .BI "des_block *" deskey );
 .sp
 .BI "int key_gendes(des_block *" deskey );
 .sp
-.BI "int key_setsecret(const char *" key );
+.BI "int key_setsecret(char *" key );
 .sp
 .B "int key_secretkey_is_set(void);"
 .SH DESCRIPTION
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH 24/24] xdr.3: tfix
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (22 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 23/24] key_setsecret.3: Fix prototypes Rasmus Villemoes
@ 2014-05-21 14:57   ` Rasmus Villemoes
       [not found]     ` <1400684275-20972-25-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  2014-05-21 18:13   ` [PATCH 00/24] Yet more prototype fixes Michael Kerrisk (man-pages)
  24 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 14:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Rasmus Villemoes

Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
---
 man3/xdr.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/xdr.3 b/man3/xdr.3
index 463f8e8..8f931db 100644
--- a/man3/xdr.3
+++ b/man3/xdr.3
@@ -26,7 +26,7 @@ and make use of the following types:
 
 .BI "typedef int " bool_t ;
 
-.BI "typedef bool_t (*" xdrproc_ti ") (XDR *, void *,...);"
+.BI "typedef bool_t (*" xdrproc_t ") (XDR *, void *,...);"
 .fi
 .in
 .LP
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 52+ messages in thread

* Re: [PATCH 01/24] inet.3: Fix prototype
       [not found]     ` <1400684275-20972-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 17:44       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 17:44 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Applied!

Thanks,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The parameters to inet_makeaddr have type in_addr_t.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
> 
> Notes:
>     The glibc header seems to have changed in ad483238a1ef, while the
>     implementation followed two years later in bf2cc5fb028f.
> 
>  man3/inet.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/inet.3 b/man3/inet.3
> index fff0308..0c61b49 100644
> --- a/man3/inet.3
> +++ b/man3/inet.3
> @@ -57,7 +57,7 @@ inet_netof \- Internet address manipulation routines
>  .sp
>  .BI "char *inet_ntoa(struct in_addr " in );
>  .sp
> -.BI "struct in_addr inet_makeaddr(int " net ", int " host );
> +.BI "struct in_addr inet_makeaddr(in_addr_t " net ", in_addr_t " host );
>  .sp
>  .BI "in_addr_t inet_lnaof(struct in_addr " in );
>  .sp
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 02/24] makecontext.3: Fix prototype
       [not found]     ` <1400684275-20972-3-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 17:45       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 17:45 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Applied!

Thanks,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The second argument to swapcontext() is const.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/makecontext.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/makecontext.3 b/man3/makecontext.3
> index 1e0e991..e57060d 100644
> --- a/man3/makecontext.3
> +++ b/man3/makecontext.3
> @@ -34,7 +34,7 @@ makecontext, swapcontext \- manipulate user context
>  .BI "void makecontext(ucontext_t *" ucp ", void (*" func )(),
>  .BI "int " argc ", ...);"
>  .sp
> -.BI "int swapcontext(ucontext_t *" oucp ", ucontext_t *" ucp );
> +.BI "int swapcontext(ucontext_t *" oucp ", const ucontext_t *" ucp );
>  .SH DESCRIPTION
>  In a System V-like environment, one has the type \fIucontext_t\fP defined in
>  .I <ucontext.h>
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 03/24] makedev.3: Fix prototype
       [not found]     ` <1400684275-20972-4-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 17:46       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 17:46 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Applied!

Thanks,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> gnu_dev_makedev, and hence its trivial macro wrapper makedev, takes
> two unsigned int parameters; this is consistent with it being the
> inverse of (gnu_dev_)major/minor, which return unsigned int.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/makedev.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/makedev.3 b/man3/makedev.3
> index e2038fb..bb63a4d 100644
> --- a/man3/makedev.3
> +++ b/man3/makedev.3
> @@ -31,7 +31,7 @@ makedev, major, minor \- manage a device number
>  .BR "#define _BSD_SOURCE" "             /* See feature_test_macros(7) */"
>  .B #include <sys/types.h>
>  
> -.BI "dev_t makedev(int " maj ", int " min );
> +.BI "dev_t makedev(unsigned int " maj ", unsigned int " min );
>  
>  .BI "unsigned int major(dev_t " dev );
>  .BI "unsigned int minor(dev_t " dev );
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 04/24] malloc_trim.3: Fix prototype
       [not found]     ` <1400684275-20972-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 17:47       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 17:47 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Mea culpa! Applied!

Thanks,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> As mentioned further down, malloc_trim returns an integer.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/malloc_trim.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/malloc_trim.3 b/man3/malloc_trim.3
> index 4c9bf48..bdcafbd 100644
> --- a/man3/malloc_trim.3
> +++ b/man3/malloc_trim.3
> @@ -29,7 +29,7 @@ malloc_trim \- release free memory from the top of the heap
>  .SH SYNOPSIS
>  .B #include <malloc.h>
>  
> -.BI "void malloc_trim(size_t "  pad );
> +.BI "int malloc_trim(size_t "  pad );
>  .SH DESCRIPTION
>  The
>  .BR malloc_trim ()
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 05/24] mq_getattr.3: Fix prototype
       [not found]     ` <1400684275-20972-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 17:49       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 17:49 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Applied!

Thanks,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The newattr parameter to mq_setattr is const.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/mq_getattr.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/mq_getattr.3 b/man3/mq_getattr.3
> index 121faa1..dbe8125 100644
> --- a/man3/mq_getattr.3
> +++ b/man3/mq_getattr.3
> @@ -32,7 +32,7 @@ mq_getattr, mq_setattr \- get/set message queue attributes
>  .sp
>  .BI "int mq_getattr(mqd_t " mqdes ", struct mq_attr *" attr );
>  
> -.BI "int mq_setattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
> +.BI "int mq_setattr(mqd_t " mqdes ", const struct mq_attr *" newattr ","
>  .BI "                 struct mq_attr *" oldattr );
>  .fi
>  .sp
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 06/24] perror.3: Fix declaration
       [not found]     ` <1400684275-20972-7-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 17:50       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 17:50 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The elements of the array sys_errlist are also const.
> 
> Also, it is probably not desirable to pretend that errno.h defines
> errno in the traditional way (errno(3) correctly contains an explicit
> warning against this). I don't know what the best solution is, though.

Well, your proposal does improve things. Applied.

Thanks,

Michael



> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/perror.3 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/perror.3 b/man3/perror.3
> index 57580a9..34f3ec5 100644
> --- a/man3/perror.3
> +++ b/man3/perror.3
> @@ -38,11 +38,11 @@ perror \- print a system error message
>  .sp
>  .B #include <errno.h>
>  .sp
> -.BI "const char *" sys_errlist [];
> +.BI "const char * const " sys_errlist [];
>  .br
>  .BI "int " sys_nerr ;
>  .br
> -.BI "int " errno ;
> +.BI "int " errno "; /* Not really declared this way; see errno(3). */"
>  .sp
>  .in -4n
>  Feature Test Macro Requirements for glibc (see
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 07/24] pthread_sigqueue.3: Include needed header
       [not found]     ` <1400684275-20972-8-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 17:56       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 17:56 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> One needs to #include <signal.h> to get a declaration of
> pthread_sigqueue.

I applied that piece.

> Also, abbreviate the FTM needed to expose it.

But not that piece. In general, I actually prefer the long form
and should have used it on all pages, for consistency.

Thanks,

Michael


> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/pthread_sigqueue.3 | 12 +++---------
>  1 file changed, 3 insertions(+), 9 deletions(-)
> 
> diff --git a/man3/pthread_sigqueue.3 b/man3/pthread_sigqueue.3
> index 84611ef..8ad0b63 100644
> --- a/man3/pthread_sigqueue.3
> +++ b/man3/pthread_sigqueue.3
> @@ -27,21 +27,15 @@
>  pthread_sigqueue \- queue a signal and data to a thread
>  .SH SYNOPSIS
>  .nf
> +.BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
>  .B #include <pthread.h>
> +.B #include <signal.h>
>  
>  .BI "int pthread_sigqueue(pthread_t " thread ", int " sig ,
>  .BI "                     const union sigval " value );
> -.fi
>  .sp
>  Compile and link with \fI\-pthread\fP.
> -.sp
> -.in -4n
> -Feature Test Macro Requirements for glibc (see
> -.BR feature_test_macros (7)):
> -.in
> -.sp
> -.BR pthread_sigqueue ():
> -_GNU_SOURCE
> +.fi
>  .SH DESCRIPTION
>  The
>  .BR pthread_sigqueue ()
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 09/24] pthread_cleanup_push_defer_np.3: Mention feature test macro
       [not found]     ` <1400684275-20972-10-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:06       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:06 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> One must define _GNU_SOURCE to get pthread_cleanup_push_defer_np and
> pthread_cleanup_pop_restore_np.

Thanks. I added the FTMs in the long format.

Cheers,

Michael


> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/pthread_cleanup_push_defer_np.3 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/man3/pthread_cleanup_push_defer_np.3 b/man3/pthread_cleanup_push_defer_np.3
> index 3538dc2..abc8bf8 100644
> --- a/man3/pthread_cleanup_push_defer_np.3
> +++ b/man3/pthread_cleanup_push_defer_np.3
> @@ -29,6 +29,7 @@ pthread_cleanup_push_defer_np, pthread_cleanup_pop_restore_np \- push and pop
>  thread cancellation clean-up handlers while saving cancelability type
>  .SH SYNOPSIS
>  .nf
> +.BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
>  .B #include <pthread.h>
>  
>  .BI "void pthread_cleanup_push_defer_np(void (*" routine ")(void *),"
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 10/24] pthread_setname_np.3: Fix prototype
       [not found]     ` <1400684275-20972-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:07       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:07 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The name parameter of pthread_getname_np is an output parameter and
> hence not const.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/pthread_setname_np.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3
> index a7c9286..b14c412 100644
> --- a/man3/pthread_setname_np.3
> +++ b/man3/pthread_setname_np.3
> @@ -32,7 +32,7 @@ pthread_setname_np, pthread_getname_np \- set/get the name of a thread
>  .B #include <pthread.h>
>  .BI "int pthread_setname_np(pthread_t " thread ", const char *" name ");
>  .BI "int pthread_getname_np(pthread_t " thread ,
> -.BI "                       const char *" name ", size_t " len );
> +.BI "                       char *" name ", size_t " len );
>  .fi
>  .sp
>  Compile and link with \fI\-pthread\fP.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 11/24] pthread_setschedparam.3: Fix prototypes
       [not found]     ` <1400684275-20972-12-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:08       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:08 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks. Applied.

Cheers,

Michael



On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Add return type for pthread_{s,g}etschedparam.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/pthread_setschedparam.3 | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3
> index 0930eb2..7863f04 100644
> --- a/man3/pthread_setschedparam.3
> +++ b/man3/pthread_setschedparam.3
> @@ -31,10 +31,10 @@ scheduling policy and parameters of a thread
>  .nf
>  .B #include <pthread.h>
>  
> -.BI "pthread_setschedparam(pthread_t " thread ", int " policy ,
> -.BI "                      const struct sched_param *" param );
> -.BI "pthread_getschedparam(pthread_t " thread ", int *" policy ,
> -.BI "                      struct sched_param *" param );
> +.BI "int pthread_setschedparam(pthread_t " thread ", int " policy ,
> +.BI "                          const struct sched_param *" param );
> +.BI "int pthread_getschedparam(pthread_t " thread ", int *" policy ,
> +.BI "                          struct sched_param *" param );
>  .sp
>  Compile and link with \fI\-pthread\fP.
>  .fi
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 12/24] pthread_setschedprio.3: Fix prototype
       [not found]     ` <1400684275-20972-13-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:08       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:08 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Add return type for pthread_setschedprio.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/pthread_setschedprio.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/pthread_setschedprio.3 b/man3/pthread_setschedprio.3
> index 334c456..04620e8 100644
> --- a/man3/pthread_setschedprio.3
> +++ b/man3/pthread_setschedprio.3
> @@ -30,7 +30,7 @@ pthread_setschedprio \- set scheduling priority of a thread
>  .nf
>  .B #include <pthread.h>
>  
> -.BI "pthread_setschedprio(pthread_t " thread ", int " prio );
> +.BI "int pthread_setschedprio(pthread_t " thread ", int " prio );
>  .sp
>  Compile and link with \fI\-pthread\fP.
>  .fi
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 13/24] rcmd.3: Fix prototypes
       [not found]     ` <1400684275-20972-14-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:09       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:09 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks, Rasmus. Applied.

Cheers,

Michael



On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Unlike the BSDs, the second argument of rcmd() and rcmd_af() has
> type unsigned short.
> 
> The first argument of iruserok_af() has type const void*.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/rcmd.3 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man3/rcmd.3 b/man3/rcmd.3
> index 09c6457..4086fe4 100644
> --- a/man3/rcmd.3
> +++ b/man3/rcmd.3
> @@ -49,7 +49,7 @@ stream to a remote command
>  .nf
>  .B #include <netdb.h> \ \ \fP/* Or <unistd.h> on some systems */
>  .sp
> -.BI "int rcmd(char **" ahost ", int " inport ", const char *" locuser ", "
> +.BI "int rcmd(char **" ahost ", unsigned short " inport ", const char *" locuser ", "
>  .BI "         const char *" remuser ", const char *" cmd ", int *" fd2p );
>  .sp
>  .BI "int rresvport(int *" port );
> @@ -60,13 +60,13 @@ stream to a remote command
>  .BI "int ruserok(const char *" rhost ", int " superuser ", "
>  .BI "            const char *" ruser ", const char *" luser );
>  .sp
> -.BI "int rcmd_af(char **" ahost ", int " inport ", const char *" locuser ", "
> +.BI "int rcmd_af(char **" ahost ", unsigned short " inport ", const char *" locuser ", "
>  .BI "            const char *" remuser ", const char *" cmd ", int *" fd2p ,
>  .BI "            sa_family_t " af );
>  .sp
>  .BI "int rresvport_af(int *" port ", sa_family_t " af );
>  .sp
> -.BI "int iruserok_af(uint32_t " raddr ", int " superuser ", "
> +.BI "int iruserok_af(const void *" raddr ", int " superuser ", "
>  .BI "                const char *" ruser ", const char *" luser \
>  ", sa_family_t " af );
>  .sp
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 14/24] re_comp.3: Fix prototypes
       [not found]     ` <1400684275-20972-15-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:10       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:10 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks, Rasmus. Applied.

Cheers,

Michael



On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> re_comp and re_exec take const char* arguments.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/re_comp.3 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/re_comp.3 b/man3/re_comp.3
> index c1199a8..0e15598 100644
> --- a/man3/re_comp.3
> +++ b/man3/re_comp.3
> @@ -34,9 +34,9 @@ re_comp, re_exec \- BSD regex functions
>  .br
>  .B #include <regex.h>
>  .sp
> -.BI "char *re_comp(char *" regex );
> +.BI "char *re_comp(const char *" regex );
>  .sp
> -.BI "int re_exec(char *" string );
> +.BI "int re_exec(const char *" string );
>  .SH DESCRIPTION
>  .BR re_comp ()
>  is used to compile the null-terminated regular expression pointed to by
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 15/24] rexec.3: Fix prototypes
       [not found]     ` <1400684275-20972-16-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:10       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:10 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks, Rasmus. Applied.

Cheers,

Michael



On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The user, passwd and cmd arguments to rexec and rexec_af are all
> const.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/rexec.3 | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/man3/rexec.3 b/man3/rexec.3
> index b62897b..12ba477 100644
> --- a/man3/rexec.3
> +++ b/man3/rexec.3
> @@ -46,11 +46,11 @@ rexec, rexec_af \- return stream to a remote command
>  .BR "#define _BSD_SOURCE" "             /* See feature_test_macros(7) */"
>  .B #include <netdb.h>
>  .sp
> -.BI "int rexec(char **" ahost ", int " inport ", char *" user ", "
> -.BI "          char *" passwd ", char *" cmd ", int *" fd2p );
> +.BI "int rexec(char **" ahost ", int " inport ", const char *" user ", "
> +.BI "          const char *" passwd ", const char *" cmd ", int *" fd2p );
>  .sp
> -.BI "int rexec_af(char **" ahost ", int " inport ", char *" user ", "
> -.BI "             char *" passwd ", char *" cmd ", int *" fd2p ,
> +.BI "int rexec_af(char **" ahost ", int " inport ", const char *" user ", "
> +.BI "             const char *" passwd ", const char *" cmd ", int *" fd2p ,
>  .BI "             sa_family_t " af  );
>  .fi
>  .SH DESCRIPTION
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 00/24] Yet more prototype fixes
       [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
                     ` (23 preceding siblings ...)
  2014-05-21 14:57   ` [PATCH 24/24] xdr.3: tfix Rasmus Villemoes
@ 2014-05-21 18:13   ` Michael Kerrisk (man-pages)
  24 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:13 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Here's another round of prototype fixes, with various other small
> things mixed in.


Thanks, Rasmus. I'll apply and park these in a branch for the moment.

Cheers,

Michael



> Rasmus Villemoes (24):
>   inet.3: Fix prototype
>   makecontext.3: Fix prototype
>   makedev.3: Fix prototype
>   malloc_trim.3: Fix prototype
>   mq_getattr.3: Fix prototype
>   perror.3: Fix declaration
>   pthread_sigqueue.3: Include needed header
>   pthread_attr_set*.3: Constify parameters
>   pthread_cleanup_push_defer_np.3: Mention feature test macro
>   pthread_setname_np.3: Fix prototype
>   pthread_setschedparam.3: Fix prototypes
>   pthread_setschedprio.3: Fix prototype
>   rcmd.3: Fix prototypes
>   re_comp.3: Fix prototypes
>   rexec.3: Fix prototypes
>   rtime.3: Replace header
>   resolver.3: Fix prototypes and extern-declaration
>   scandir.3: Fix prototypes
>   sigvec.3: Fix prototype
>   setnetgrent.3: Fix prototype
>   tsearch.3: Fix prototype
>   getauxval.3: Fix permissions
>   key_setsecret.3: Fix prototypes
>   xdr.3: tfix
> 
>  man3/getauxval.3                     |  0
>  man3/inet.3                          |  2 +-
>  man3/key_setsecret.3                 |  6 +++---
>  man3/makecontext.3                   |  2 +-
>  man3/makedev.3                       |  2 +-
>  man3/malloc_trim.3                   |  2 +-
>  man3/mq_getattr.3                    |  2 +-
>  man3/perror.3                        |  4 ++--
>  man3/pthread_attr_setaffinity_np.3   |  2 +-
>  man3/pthread_attr_setdetachstate.3   |  2 +-
>  man3/pthread_attr_setguardsize.3     |  2 +-
>  man3/pthread_attr_setinheritsched.3  |  2 +-
>  man3/pthread_attr_setschedparam.3    |  2 +-
>  man3/pthread_attr_setschedpolicy.3   |  2 +-
>  man3/pthread_attr_setscope.3         |  2 +-
>  man3/pthread_attr_setstack.3         |  2 +-
>  man3/pthread_attr_setstackaddr.3     |  2 +-
>  man3/pthread_attr_setstacksize.3     |  2 +-
>  man3/pthread_cleanup_push_defer_np.3 |  1 +
>  man3/pthread_setname_np.3            |  2 +-
>  man3/pthread_setschedparam.3         |  8 ++++----
>  man3/pthread_setschedprio.3          |  2 +-
>  man3/pthread_sigqueue.3              | 12 +++---------
>  man3/rcmd.3                          |  6 +++---
>  man3/re_comp.3                       |  4 ++--
>  man3/resolver.3                      | 16 ++++++++--------
>  man3/rexec.3                         |  8 ++++----
>  man3/rtime.3                         |  2 +-
>  man3/scandir.3                       |  4 ++--
>  man3/setnetgrent.3                   |  2 +-
>  man3/sigvec.3                        |  2 +-
>  man3/tsearch.3                       |  2 +-
>  man3/xdr.3                           |  2 +-
>  33 files changed, 54 insertions(+), 59 deletions(-)
>  mode change 100755 => 100644 man3/getauxval.3
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 16/24] rtime.3: Replace header
       [not found]     ` <1400684275-20972-17-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:14       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:14 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thank you, Rasmus. Applied.

Cheers,

Michael



On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The header <rpc/des_crypt.h> does not provide rtime();
> <rpc/auth_des.h> does, as is also implied in both the NOTES and
> EXAMPLE sections.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/rtime.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/rtime.3 b/man3/rtime.3
> index 2471db0..c6324a4 100644
> --- a/man3/rtime.3
> +++ b/man3/rtime.3
> @@ -14,7 +14,7 @@
>  rtime \- get time from a remote machine
>  .SH SYNOPSIS
>  .nf
> -.B "#include <rpc/des_crypt.h>"
> +.B "#include <rpc/auth_des.h>"
>  .sp
>  .BI "int rtime(struct sockaddr_in *" addrp ", struct rpc_timeval *" timep ,
>  .BI "          struct rpc_timeval *" timeout );
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 19/24] sigvec.3: Fix prototype
       [not found]     ` <1400684275-20972-20-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:15       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:15 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thank you, Rasmus. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The vec argument to sigvec is const.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/sigvec.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/sigvec.3 b/man3/sigvec.3
> index 8cc380f..4afa361 100644
> --- a/man3/sigvec.3
> +++ b/man3/sigvec.3
> @@ -29,7 +29,7 @@ sigvec, sigblock, sigsetmask, siggetmask, sigmask \- BSD signal API
>  .SH SYNOPSIS
>  .B #include <signal.h>
>  .sp
> -.BI "int sigvec(int " sig ", struct sigvec *" vec ", struct sigvec *" ovec );
> +.BI "int sigvec(int " sig ", const struct sigvec *" vec ", struct sigvec *" ovec );
>  .sp
>  .BI "int sigmask(int " signum );
>  .sp
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 20/24] setnetgrent.3: Fix prototype
       [not found]     ` <1400684275-20972-21-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:15       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:15 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thank you, Rasmus. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The buflen argument to getnetgrent_r has type size_t.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/setnetgrent.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/setnetgrent.3 b/man3/setnetgrent.3
> index 2a85a95..25293e6 100644
> --- a/man3/setnetgrent.3
> +++ b/man3/setnetgrent.3
> @@ -22,7 +22,7 @@ handle network group entries
>  .BI "int getnetgrent(char **" host ", char **" user ", char **" domain );
>  
>  .BI "int getnetgrent_r(char **" host ", char **" user ","
> -.BI "                  char **" domain ", char *" buf ", int " buflen );
> +.BI "                  char **" domain ", char *" buf ", size_t " buflen );
>  
>  .BI "int innetgr(const char *" netgroup ", const char *" host ","
>  .BI "            const char *" user ", const char *" domain );
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 22/24] getauxval.3: Fix permissions
       [not found]     ` <1400684275-20972-23-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:17       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:17 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> There doesn't seem to be any reason for getauxval.3 to be
> executable...

Cough! Quite. Applied.

Thanks,

Michael


> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/getauxval.3 | 0
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  mode change 100755 => 100644 man3/getauxval.3
> 
> diff --git a/man3/getauxval.3 b/man3/getauxval.3
> old mode 100755
> new mode 100644
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 24/24] xdr.3: tfix
       [not found]     ` <1400684275-20972-25-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:17       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:17 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thank you, Rasmus. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/xdr.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/xdr.3 b/man3/xdr.3
> index 463f8e8..8f931db 100644
> --- a/man3/xdr.3
> +++ b/man3/xdr.3
> @@ -26,7 +26,7 @@ and make use of the following types:
>  
>  .BI "typedef int " bool_t ;
>  
> -.BI "typedef bool_t (*" xdrproc_ti ") (XDR *, void *,...);"
> +.BI "typedef bool_t (*" xdrproc_t ") (XDR *, void *,...);"
>  .fi
>  .in
>  .LP
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 23/24] key_setsecret.3: Fix prototypes
       [not found]     ` <1400684275-20972-24-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:19       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:19 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thank you, Rasmus. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Remove const qualifiers from arguments to key_decryptsession,
> key_encryptsession, and key_setsecret.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/key_setsecret.3 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man3/key_setsecret.3 b/man3/key_setsecret.3
> index f75896e..b78cd8b 100644
> --- a/man3/key_setsecret.3
> +++ b/man3/key_setsecret.3
> @@ -13,15 +13,15 @@ key_secretkey_is_set \- interfaces to rpc keyserver daemon
>  .SH SYNOPSIS
>  .B "#include <rpc/rpc.h>"
>  .sp
> -.BI "int key_decryptsession(const char *" remotename ,
> +.BI "int key_decryptsession(char *" remotename ,
>  .BI "des_block *" deskey );
>  .sp
> -.BI "int key_encryptsession(const char *" remotename ,
> +.BI "int key_encryptsession(char *" remotename ,
>  .BI "des_block *" deskey );
>  .sp
>  .BI "int key_gendes(des_block *" deskey );
>  .sp
> -.BI "int key_setsecret(const char *" key );
> +.BI "int key_setsecret(char *" key );
>  .sp
>  .B "int key_secretkey_is_set(void);"
>  .SH DESCRIPTION
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 17/24] resolver.3: Fix prototypes and extern-declaration
       [not found]     ` <1400684275-20972-18-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:31       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:31 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thank you, Rasmus. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Fix const- and signedness of various char* parameters.
> 
> Also, there is no "struct state", but _res is a struct
> __res_state. (Actually, _res is errno-like in that it is really a
> macro expanding to (*__res_state()).)
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/resolver.3 | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/man3/resolver.3 b/man3/resolver.3
> index a3fd2e8..4c0b03e 100644
> --- a/man3/resolver.3
> +++ b/man3/resolver.3
> @@ -38,7 +38,7 @@ dn_comp, dn_expand \- resolver routines
>  .B #include <netinet/in.h>
>  .B #include <arpa/nameser.h>
>  .B #include <resolv.h>
> -.B extern struct state _res;
> +.B extern struct __res_state _res;
>  .sp
>  .B int res_init(void);
>  .sp
> @@ -60,23 +60,23 @@ dn_comp, dn_expand \- resolver routines
>  .sp
>  .BI "int res_mkquery(int " op ", const char *" dname ", int " class ,
>  .RS
> -.BI "int " type ", char *" data ", int " datalen ", struct rrec *" newrr ,
> -.BI "char *" buf ", int " buflen );
> +.BI "int " type ", const unsigned char *" data ", int " datalen ,
> +.BI "const unsigned char *" newrr ", unsigned char *" buf ", int " buflen );
>  .RE
>  .sp
> -.BI "int res_send(const char *" msg ", int " msglen ", char *" answer ,
> +.BI "int res_send(const unsigned char *" msg ", int " msglen ,
>  .RS
> -.BI "int " anslen );
> +.BI "unsigned char *" answer ", int " anslen );
>  .RE
>  .sp
> -.BI "int dn_comp(unsigned char *" exp_dn ", unsigned char *" comp_dn ,
> +.BI "int dn_comp(const char *" exp_dn ", unsigned char *" comp_dn ,
>  .RS
>  .BI "int " length ", unsigned char **" dnptrs ", unsigned char **" lastdnptr );
>  .RE
>  .sp
> -.BI "int dn_expand(unsigned char *" msg ", unsigned char *" eomorig ,
> +.BI "int dn_expand(const unsigned char *" msg ", const unsigned char *" eomorig ,
>  .RS
> -.BI "unsigned char *" comp_dn ", char *" exp_dn ,
> +.BI "const unsigned char *" comp_dn ", char *" exp_dn ,
>  .BI "int " length );
>  .RE
>  .fi
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 18/24] scandir.3: Fix prototypes
       [not found]     ` <1400684275-20972-19-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:40       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:40 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thank you, Rasmus. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The alphasort and versionsort functions take arguments of type const
> struct dirent **, not const void *.
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/scandir.3 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/scandir.3 b/man3/scandir.3
> index aee2c86..7fea26e 100644
> --- a/man3/scandir.3
> +++ b/man3/scandir.3
> @@ -73,9 +73,9 @@ a directory for matching entries
>  .BI "int (*" compar ")(const struct dirent **, const struct dirent **));"
>  .RE
>  .sp
> -.BI "int alphasort(const void *" a ", const void *" b );
> +.BI "int alphasort(const struct dirent **" a ", const struct dirent **" b );
>  .sp
> -.BI "int versionsort(const void *" a ", const void *" b );
> +.BI "int versionsort(const struct dirent **" a ", const struct dirent **" b );
>  
>  .BR "#include <fcntl.h>" "          /* Definition of AT_* constants */"
>  .B #include <dirent.h>
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 21/24] tsearch.3: Fix prototype
       [not found]     ` <1400684275-20972-22-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 18:48       ` Michael Kerrisk (man-pages)
       [not found]         ` <537CF50D.2080400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 18:48 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Hi Rasmus,

On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The rootp argument to tfind is void *const void*, not const void **.

Applied, but in the changelog, I guess you meant to write

    The rootp argument to tfind is void *const *, not const void **

Right? (I amended the commit message.)

Cheers,

Michael


> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/tsearch.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/tsearch.3 b/man3/tsearch.3
> index 83eceae..618fb54 100644
> --- a/man3/tsearch.3
> +++ b/man3/tsearch.3
> @@ -32,7 +32,7 @@ tsearch, tfind, tdelete, twalk, tdestroy \- manage a binary tree
>  .BI "void *tsearch(const void *" key ", void **" rootp ,
>  .BI "                int (*" compar ")(const void *, const void *));"
>  .sp
> -.BI "void *tfind(const void *" key ", const void **" rootp ,
> +.BI "void *tfind(const void *" key ", void *const *" rootp ,
>  .BI "                int (*" compar ")(const void *, const void *));"
>  .sp
>  .BI "void *tdelete(const void *" key ", void **" rootp ,
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 21/24] tsearch.3: Fix prototype
       [not found]         ` <537CF50D.2080400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-05-21 20:02           ` Rasmus Villemoes
       [not found]             ` <87oayqew8p.fsf-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
  0 siblings, 1 reply; 52+ messages in thread
From: Rasmus Villemoes @ 2014-05-21 20:02 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

"Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi Rasmus,
>
> On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
>> The rootp argument to tfind is void *const void*, not const void **.
>
> Applied, but in the changelog, I guess you meant to write
>
>     The rootp argument to tfind is void *const *, not const void **
>
> Right?

Of course. Thanks for the careful proofreading.

Rasmus
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 21/24] tsearch.3: Fix prototype
       [not found]             ` <87oayqew8p.fsf-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-21 20:15               ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-21 20:15 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 05/21/2014 10:02 PM, Rasmus Villemoes wrote:
> "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> 
>> Hi Rasmus,
>>
>> On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
>>> The rootp argument to tfind is void *const void*, not const void **.
>>
>> Applied, but in the changelog, I guess you meant to write
>>
>>     The rootp argument to tfind is void *const *, not const void **
>>
>> Right?
> 
> Of course. Thanks for the careful proofreading.

No problem. I really appreciate these patches! A lot of those errors
have been there for a very long time.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH 08/24] pthread_attr_set*.3: Constify parameters
       [not found]     ` <1400684275-20972-9-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
@ 2014-05-22  6:47       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 52+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-22  6:47 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Thanks, Rasmus. Applied.

Cheers,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Each of the pthread_attr_get* functions extract some piece of
> information from a pthread_attr_t, which is passed by const
> reference. Add the const keyword to the prototypes of these functions:
> 
> pthread_attr_getaffinity_np
> pthread_attr_getdetachstate
> pthread_attr_getguardsize
> pthread_attr_getinheritsched
> pthread_attr_getschedparam
> pthread_attr_getschedpolicy
> pthread_attr_getscope
> pthread_attr_getstack
> pthread_attr_getstackaddr
> pthread_attr_getstacksize
> 
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man3/pthread_attr_setaffinity_np.3  | 2 +-
>  man3/pthread_attr_setdetachstate.3  | 2 +-
>  man3/pthread_attr_setguardsize.3    | 2 +-
>  man3/pthread_attr_setinheritsched.3 | 2 +-
>  man3/pthread_attr_setschedparam.3   | 2 +-
>  man3/pthread_attr_setschedpolicy.3  | 2 +-
>  man3/pthread_attr_setscope.3        | 2 +-
>  man3/pthread_attr_setstack.3        | 2 +-
>  man3/pthread_attr_setstackaddr.3    | 2 +-
>  man3/pthread_attr_setstacksize.3    | 2 +-
>  10 files changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/man3/pthread_attr_setaffinity_np.3 b/man3/pthread_attr_setaffinity_np.3
> index e99cc58..4ae27d8 100644
> --- a/man3/pthread_attr_setaffinity_np.3
> +++ b/man3/pthread_attr_setaffinity_np.3
> @@ -34,7 +34,7 @@ CPU affinity attribute in thread attributes object
>  
>  .BI "int pthread_attr_setaffinity_np(pthread_attr_t *" attr ,
>  .BI "                   size_t " cpusetsize ", const cpu_set_t *" cpuset );
> -.BI "int pthread_attr_getaffinity_np(pthread_attr_t *" attr ,
> +.BI "int pthread_attr_getaffinity_np(const pthread_attr_t *" attr ,
>  .BI "                   size_t " cpusetsize ", cpu_set_t *" cpuset );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setdetachstate.3 b/man3/pthread_attr_setdetachstate.3
> index dd43608..7e2f7ee 100644
> --- a/man3/pthread_attr_setdetachstate.3
> +++ b/man3/pthread_attr_setdetachstate.3
> @@ -33,7 +33,7 @@ set/get detach state attribute in thread attributes object
>  
>  .BI "int pthread_attr_setdetachstate(pthread_attr_t *" attr \
>  ", int " detachstate );
> -.BI "int pthread_attr_getdetachstate(pthread_attr_t *" attr \
> +.BI "int pthread_attr_getdetachstate(const pthread_attr_t *" attr \
>  ", int *" detachstate );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setguardsize.3 b/man3/pthread_attr_setguardsize.3
> index 801aae9..ca06b42 100644
> --- a/man3/pthread_attr_setguardsize.3
> +++ b/man3/pthread_attr_setguardsize.3
> @@ -33,7 +33,7 @@ attribute in thread attributes object
>  
>  .BI "int pthread_attr_setguardsize(pthread_attr_t *" attr \
>  ", size_t " guardsize );
> -.BI "int pthread_attr_getguardsize(pthread_attr_t *" attr \
> +.BI "int pthread_attr_getguardsize(const pthread_attr_t *" attr \
>  ", size_t *" guardsize );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setinheritsched.3 b/man3/pthread_attr_setinheritsched.3
> index a3e0e28..0f041f5 100644
> --- a/man3/pthread_attr_setinheritsched.3
> +++ b/man3/pthread_attr_setinheritsched.3
> @@ -33,7 +33,7 @@ inherit-scheduler attribute in thread attributes object
>  
>  .BI "int pthread_attr_setinheritsched(pthread_attr_t *" attr ,
>  .BI "                                 int " inheritsched );
> -.BI "int pthread_attr_getinheritsched(pthread_attr_t *" attr ,
> +.BI "int pthread_attr_getinheritsched(const pthread_attr_t *" attr ,
>  .BI "                                 int *" inheritsched );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setschedparam.3 b/man3/pthread_attr_setschedparam.3
> index 9a478e8..c2f0506 100644
> --- a/man3/pthread_attr_setschedparam.3
> +++ b/man3/pthread_attr_setschedparam.3
> @@ -33,7 +33,7 @@ scheduling parameter attributes in thread attributes object
>  
>  .BI "int pthread_attr_setschedparam(pthread_attr_t *" attr ,
>  .BI "                               const struct sched_param *" param );
> -.BI "int pthread_attr_getschedparam(pthread_attr_t *" attr ,
> +.BI "int pthread_attr_getschedparam(const pthread_attr_t *" attr ,
>  .BI "                               struct sched_param *" param );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setschedpolicy.3 b/man3/pthread_attr_setschedpolicy.3
> index 84b508a..59fe053 100644
> --- a/man3/pthread_attr_setschedpolicy.3
> +++ b/man3/pthread_attr_setschedpolicy.3
> @@ -33,7 +33,7 @@ scheduling policy attribute in thread attributes object
>  
>  .BI "int pthread_attr_setschedpolicy(pthread_attr_t *" attr \
>  ", int " policy );
> -.BI "int pthread_attr_getschedpolicy(pthread_attr_t *" attr \
> +.BI "int pthread_attr_getschedpolicy(const pthread_attr_t *" attr \
>  ", int " *policy );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setscope.3 b/man3/pthread_attr_setscope.3
> index 2effe6b..837b105 100644
> --- a/man3/pthread_attr_setscope.3
> +++ b/man3/pthread_attr_setscope.3
> @@ -33,7 +33,7 @@ attribute in thread attributes object
>  
>  .BI "int pthread_attr_setscope(pthread_attr_t *" attr \
>  ", int " scope );
> -.BI "int pthread_attr_getscope(pthread_attr_t *" attr \
> +.BI "int pthread_attr_getscope(const pthread_attr_t *" attr \
>  ", int *" scope );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setstack.3 b/man3/pthread_attr_setstack.3
> index e6ebb9f..66fd1ba 100644
> --- a/man3/pthread_attr_setstack.3
> +++ b/man3/pthread_attr_setstack.3
> @@ -33,7 +33,7 @@ attributes in thread attributes object
>  
>  .BI "int pthread_attr_setstack(pthread_attr_t *" attr ,
>  .BI "                          void *" stackaddr ", size_t " stacksize );
> -.BI "int pthread_attr_getstack(pthread_attr_t *" attr ,
> +.BI "int pthread_attr_getstack(const pthread_attr_t *" attr ,
>  .BI "                          void **" stackaddr ", size_t *" stacksize );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setstackaddr.3 b/man3/pthread_attr_setstackaddr.3
> index 15331ca..e4d78ee 100644
> --- a/man3/pthread_attr_setstackaddr.3
> +++ b/man3/pthread_attr_setstackaddr.3
> @@ -33,7 +33,7 @@ set/get stack address attribute in thread attributes object
>  
>  .BI "int pthread_attr_setstackaddr(pthread_attr_t *" attr \
>  ", void *" stackaddr );
> -.BI "int pthread_attr_getstackaddr(pthread_attr_t *" attr \
> +.BI "int pthread_attr_getstackaddr(const pthread_attr_t *" attr \
>  ", void **" stackaddr );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> diff --git a/man3/pthread_attr_setstacksize.3 b/man3/pthread_attr_setstacksize.3
> index 95a9b4f..06e7c54 100644
> --- a/man3/pthread_attr_setstacksize.3
> +++ b/man3/pthread_attr_setstacksize.3
> @@ -33,7 +33,7 @@ attribute in thread attributes object
>  
>  .BI "int pthread_attr_setstacksize(pthread_attr_t *" attr \
>  ", size_t " stacksize );
> -.BI "int pthread_attr_getstacksize(pthread_attr_t *" attr \
> +.BI "int pthread_attr_getstacksize(const pthread_attr_t *" attr \
>  ", size_t *" stacksize );
>  .sp
>  Compile and link with \fI\-pthread\fP.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2014-05-22  6:47 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-21 14:57 [PATCH 00/24] Yet more prototype fixes Rasmus Villemoes
     [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 14:57   ` [PATCH 01/24] inet.3: Fix prototype Rasmus Villemoes
     [not found]     ` <1400684275-20972-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:44       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 02/24] makecontext.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-3-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:45       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 03/24] makedev.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-4-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:46       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 04/24] malloc_trim.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:47       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 05/24] mq_getattr.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:49       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 06/24] perror.3: Fix declaration Rasmus Villemoes
     [not found]     ` <1400684275-20972-7-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:50       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 07/24] pthread_sigqueue.3: Include needed header Rasmus Villemoes
     [not found]     ` <1400684275-20972-8-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:56       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 08/24] pthread_attr_set*.3: Constify parameters Rasmus Villemoes
     [not found]     ` <1400684275-20972-9-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-22  6:47       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 09/24] pthread_cleanup_push_defer_np.3: Mention feature test macro Rasmus Villemoes
     [not found]     ` <1400684275-20972-10-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:06       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 10/24] pthread_setname_np.3: Fix prototype Rasmus Villemoes
     [not found]     ` <1400684275-20972-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:07       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 11/24] pthread_setschedparam.3: Fix prototypes Rasmus Villemoes
     [not found]     ` <1400684275-20972-12-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:08       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 12/24] pthread_setschedprio.3: Fix prototype Rasmus Villemoes
     [not found]     ` <1400684275-20972-13-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:08       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 13/24] rcmd.3: Fix prototypes Rasmus Villemoes
     [not found]     ` <1400684275-20972-14-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:09       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 14/24] re_comp.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-15-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:10       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 15/24] rexec.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-16-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:10       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 16/24] rtime.3: Replace header Rasmus Villemoes
     [not found]     ` <1400684275-20972-17-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:14       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 17/24] resolver.3: Fix prototypes and extern-declaration Rasmus Villemoes
     [not found]     ` <1400684275-20972-18-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:31       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 18/24] scandir.3: Fix prototypes Rasmus Villemoes
     [not found]     ` <1400684275-20972-19-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:40       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 19/24] sigvec.3: Fix prototype Rasmus Villemoes
     [not found]     ` <1400684275-20972-20-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:15       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 20/24] setnetgrent.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-21-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:15       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 21/24] tsearch.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-22-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:48       ` Michael Kerrisk (man-pages)
     [not found]         ` <537CF50D.2080400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-21 20:02           ` Rasmus Villemoes
     [not found]             ` <87oayqew8p.fsf-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 20:15               ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 22/24] getauxval.3: Fix permissions Rasmus Villemoes
     [not found]     ` <1400684275-20972-23-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:17       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 23/24] key_setsecret.3: Fix prototypes Rasmus Villemoes
     [not found]     ` <1400684275-20972-24-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:19       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 24/24] xdr.3: tfix Rasmus Villemoes
     [not found]     ` <1400684275-20972-25-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:17       ` Michael Kerrisk (man-pages)
2014-05-21 18:13   ` [PATCH 00/24] Yet more prototype fixes Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).