delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/14:53:38

From: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019