The user, passwd and cmd arguments to rexec and rexec_af are all const. Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> --- 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html