The prototype for getrpcport() is obtained by #include'ing <rpc/rpc.h>. Also, update its prototype. --- man3/getrpcport.3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man3/getrpcport.3 b/man3/getrpcport.3 index 16ccdfc..a31fbc9 100644 --- a/man3/getrpcport.3 +++ b/man3/getrpcport.3 @@ -10,8 +10,10 @@ getrpcport \- get RPC port number .SH SYNOPSIS .nf -.BI "int getrpcport(char *" host ", int " prognum ", int " versnum \ -", int " proto ); +.B "#include <rpc/rpc.h>" +.sp +.BI "int getrpcport(const char *" host ", unsigned long " prognum \ +", unsigned long " versnum ", unsigned " proto ); .fi .SH DESCRIPTION .BR getrpcport () -- 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