rexec(3) Library Functions Manual rexec(3) rexec, rexec_af - C (libc, -lc) #include [[deprecated]] int rexec(char **restrict ahost, int inport, const char *restrict user, const char *restrict passwd, const char *restrict cmd, int *restrict fd2p); [[deprecated]] int rexec_af(char **restrict ahost, int inport, const char *restrict user, const char *restrict passwd, const char *restrict cmd, int *restrict fd2p, sa_family_t af); rexec(), rexec_af(): glibc 2.19: _DEFAULT_SOURCE glibc 2.19 : _BSD_SOURCE , rcmd(3). rexec() *ahost, gethostbyname(3), -1, . , *ahost . , ; .netrc, . , . inport , (well-known) DARPA Internet ; getservbyname("exec", "tcp") ( getservent(3)) , . rexecd(8). , - SOCK_STREAM, stdin stdout. fd2p , , *fd2p. ( 2) , , UNIX, . , . fd2p 0, stderr ( 2 ) stdout , , . rexec_af() rexec() IPv4 (AF_INET). , rexec_af() , af, . AF_INET, AF_INET6 AF_UNSPEC ( ). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |rexec(), rexec_af() | | MT-Unsafe | +----------------------------+----------------------------------------------------------+--------------------------+ None. rexec() 4.2BSD, BSD, Solaris. rexec_af() glibc 2.2. rexec() . , , ; rexecd(8). rcmd(3), rexecd(8) () aereiae , Azamat Hackimov , Dmitriy S. Seregin , Katrin Kutepova , Lockal , Yuri Kozlov , ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . rexec(3)