-.BI "int rexec(char **" ahost ", int " inport ", char *" user ", "
-.BI " char *" passwd ", char *" cmd ", int *" fd2p );
-.\" This function requires _BSD_SOURCE on Linux
+.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 ", const char *" user ", "
+.BI " const char *" passwd ", const char *" cmd ", int *" fd2p ,
+.BI " sa_family_t " af );