From owner-freebsd-hackers Fri Apr 10 12:48:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20615 for freebsd-hackers-outgoing; Fri, 10 Apr 1998 12:48:12 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from thelab.hub.org (tc-64.acadiau.ca [131.162.2.164]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA20495 for ; Fri, 10 Apr 1998 12:48:00 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.8.8/8.8.2) with SMTP id QAA03352 for ; Fri, 10 Apr 1998 16:47:48 -0300 (ADT) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Fri, 10 Apr 1998 16:47:48 -0300 (ADT) From: The Hermit Hacker To: freebsd-hackers@FreeBSD.ORG Subject: filename from open file descriptor... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi... I'm trying to debug some code, and have an open file descriptor that I want to find the file name that its associated with... is this possible? my first thought was fstat(), but that appears to return everything but the name :( Thanks... Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message