aboutsummaryrefslogtreecommitdiffstats
path: root/man3/rexec.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/rexec.3')
-rw-r--r--man3/rexec.310
1 files changed, 9 insertions, 1 deletions
diff --git a/man3/rexec.3 b/man3/rexec.3
index 8462fdd30d..f0e9c3736c 100644
--- a/man3/rexec.3
+++ b/man3/rexec.3
@@ -43,7 +43,6 @@
rexec, rexec_af \- return stream to a remote command
.SH SYNOPSIS
.nf
-.BR "#define _BSD_SOURCE" " /* See feature_test_macros(7) */"
.B #include <netdb.h>
.sp
.BI "int rexec(char **" ahost ", int " inport ", const char *" user ", "
@@ -53,6 +52,15 @@ rexec, rexec_af \- return stream to a remote command
.BI " const char *" passwd ", const char *" cmd ", int *" fd2p ,
.BI " sa_family_t " af );
.fi
+.sp
+.BR rexec (),
+.BR rexec_af ():
+.nf
+ Since glibc 2.19:
+ _DEFAULT_SOURCE
+ In glibc up to and including 2.19:
+ _BSD_SOURCE
+.fi
.SH DESCRIPTION
This interface is obsoleted by
.BR rcmd (3).