From owner-freebsd-questions Fri Feb 28 21:31:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA11352 for questions-outgoing; Fri, 28 Feb 1997 21:31:30 -0800 (PST) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA11338 for ; Fri, 28 Feb 1997 21:31:25 -0800 (PST) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id VAA01482; Fri, 28 Feb 1997 21:31:14 -0800 (PST) To: Chris Csanady cc: questions@freebsd.org Subject: Re: dup(2) usage question... In-reply-to: Your message of "Fri, 28 Feb 1997 18:18:13 CST." <199703010018.SAA03198@nyx.pr.mcs.net> Date: Fri, 28 Feb 1997 21:31:14 -0800 Message-ID: <1478.857194274@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > If I dup a file descriptor, and close one, both will be closed, right? No. You'll simply close the extra reference. :-) Jordan