From owner-freebsd-current Thu Apr 15 20:57:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by hub.freebsd.org (Postfix) with ESMTP id 81AC315022 for ; Thu, 15 Apr 1999 20:57:33 -0700 (PDT) (envelope-from jwd@unx.sas.com) Received: from mozart (mozart.unx.sas.com [192.58.184.8]) by lamb.sas.com (8.9.1/8.9.1) with SMTP id XAA05637 for ; Thu, 15 Apr 1999 23:55:10 -0400 (EDT) Received: from bb01f39.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) id AA11042; Thu, 15 Apr 1999 23:55:10 -0400 Received: (from jwd@localhost) by bb01f39.unx.sas.com (8.9.1/8.9.1) id XAA13170 for freebsd-current@freebsd.org; Thu, 15 Apr 1999 23:55:10 -0400 (EDT) (envelope-from jwd) From: "John W. DeBoskey" Message-Id: <199904160355.XAA13170@bb01f39.unx.sas.com> Subject: rexec documentation/compatibility question To: freebsd-current@freebsd.org Date: Thu, 15 Apr 1999 23:55:10 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL43 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, With respect to the rexec() function: From 'man 3 rexec' on a -current system I find: SYNOPSIS int rexec(char **ahost, int inport, char *user, char *passwd, char *cmd, int *fd2p) DESCRIPTION This interface is obsoleted by rcmd(3). It is available from the compat- ibility library, libcompat. However, I don't see how rcmd() can be used to replace rexec() since rcmd() is a root/rresvport mechanism, as where rexec() is a .netrc mechanism. In looking at the rcmd() src, I don't see where any rexec() functionality has been added (/usr/src/lib/libc/net/rcmd.c). Could someone with information on how these functions relate to each other point me in the right direction? Thanks! John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message