Glenn Fowler <[EMAIL PROTECTED]> wrote:

>
> On Thu, 22 Feb 2007 11:31:31 +0100 [EMAIL PROTECTED] (Joerg Schilling) wrote:
> > If the first test works, I would like to create a callback interface
> > (e.g. "find . -call test <test-expression> {} \;") that allows
> > libfind to efficiently call builtins from the shell.
>
>       int b_test(int argc, char *argv[],void *extra)

Well, I did plan to do something like:

if ((fp = dlsym(RTLD_DEFAULT, "b_test")) != NULL)
        we have b_test() available.

The problem is that not all platforms might support RTLD_DEFAULT.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to