From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: __file_tree_walk() Date: Wed, 28 Jan 1998 10:15:26 -0600 Organization: Cornell University Lines: 16 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34CF599E.7EE5@cornell.edu> References: <34CF4714 DOT 42ED AT discover DOT net> Reply-To: sinan DOT unur AT cornell DOT edu NNTP-Posting-Host: 128 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ian Perez wrote: > > Ok, Here is the prototype of __file_tree_walk() : > > int __file_tree_walk(const char *_dir, int (*_fn)(const char *_path, > const struct ffblk *_ff)); > > The second argument is a function.... so what is the function > passed supposed to return?? int (*_fn)(const char *_path, const struct ffblk *_ff) fn is a function taking const char* and const struct ffblk* arguments and returning an int. -- Sinan