On Wed, Jun 13, 2001 at 11:16:57AM -0400, 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.)
> 
How should we call this function?
(I'll implement this tomorrow.)


-- 
Ruslan Ermilov          Oracle Developer/DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

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

Reply via email to