From owner-freebsd-questions Wed Sep 8 18: 8: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from send205.yahoomail.com (web131.yahoomail.com [205.180.60.174]) by hub.freebsd.org (Postfix) with SMTP id 2BADB14C36 for ; Wed, 8 Sep 1999 18:08:05 -0700 (PDT) (envelope-from mcronk@yahoo.com) Message-ID: <19990909010911.29206.rocketmail@send205.yahoomail.com> Received: from [203.18.85.1] by web131.yahoomail.com; Wed, 08 Sep 1999 18:09:11 PDT Date: Wed, 8 Sep 1999 18:09:11 -0700 (PDT) From: Michael Cronk Subject: A C question To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to port some code to FreeBSD: ----- cleanup() { if (debug) fprintf(stderr,"cleanup()\n"); if (progress & LINKED_TTY) unlink(new_node); if (progress & RENAMED_PTY) rename(alias, master); #ifndef SYS_V if (!debug) vhangup(); /* XXX */ #endif if (dev_net >= 0) (void)shutdown(dev_net, 2); exit(1); } ----- The problem is with the vhangup() call, which I think is Linux specific. Unfortunately, FreeBSD mae this system call obsolete ( I use 3.1 ). My question is, what is FreeBSDs equivalent to this call? Thanks, Michael Please reply to: michael@one.com.au __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message