From mboxrd@z Thu Jan 1 00:00:00 1970 From: sandeep Subject: Re: Directory contents Date: Mon, 29 Nov 2004 12:55:17 +0530 Message-ID: <41AACEDD.4080509@codito.com> References: <200411271900.48627.hitoc_mail@yahoo.it> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200411271900.48627.hitoc_mail@yahoo.it> Sender: linux-assembly-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: HIToC Cc: Linux C programming , Linux Assembly > I want to write a function that can read the contents of a specified directory > in order to find a certain type of file or to copy a directory-tree or > something else. > Neverthless I need of some system functions that find the files that are > contained in that directory (like FINDFIRST and FINDNEXT under ms-dos). > > Who can help me? "man scandir" and man on functions mentioned at the end of that manpage. -- regards sandeep -------------------------------------------------------------------------- You probably wouldn't worry about what people think of you if you could know how seldom they do. -- Olin Miller. --------------------------------------------------------------------------