On Wed, 13 Jun 2001, Garrett Wollman wrote:

> <<On Wed, 13 Jun 2001 23:28:29 +1000 (EST), Bruce Evans <[EMAIL PROTECTED]> said:
> > 3. Provide an alternative to qsort() that takes an comparison function
> >    that takes an additional function pointer arg (use this arg to avoid
> >    the global in (1)).
> Actually, doing this would solve a number of similar problems, and it
> doesn't look to be too difficult to do.  I would make the additional
> argument a `void *'; fts's comparison trampoline function could use
> this as a `FTS *' to look up the comparison function.  (I think this
> is more general than passing any kind of function pointer.)

Good idea.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to