"use strace and friends" I though I'd mention that "friends" should include the lesser known "ltrace" (http://linux.die.net/man/1/ltrace), which should allow you to find which user-space function is called, not just system calls.
On 21 September 2013 23:07, Glen Turner <g...@gdt.id.au> wrote: > The usual technique is to interpose your own library call above the usual > call. See LD_PRELOAD and dlsym(). For an interpreted language like PHP use > strace and friends to see which library calls the PHP fgets() uses (it need > not be fgets(), it could be read()). > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- [image: View my profile on LinkedIn] <http://www.linkedin.com/in/gliderflyer> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html