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@xxxxxxxxxxxxxxxxxx> --- 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html