From mboxrd@z Thu Jan 1 00:00:00 1970 From: kaushal Subject: how to the filename Date: Thu, 14 Apr 2005 15:26:46 +0530 Message-ID: <1113472539.5952.62.camel@localhost.localdomain> Reply-To: kaushal@rocsys.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux prg Hello all, How can I get the filename/pathname given the open file descriptor?Does fstat provide this feature internally?Can somebody give the code snippet for this. Thanks in advance. regards- kaushal.