This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit e47e78e8877e2eb44e0fd9fc0f28ababfc6ccf7c Author: Marco Casaroli <[email protected]> AuthorDate: Wed Nov 11 03:52:19 2026 +0100 Documentation: Add the search.h functions to the FDPIC callback list. lfind(), lsearch(), tsearch(), tfind(), tdelete(), twalk() and tdestroy() resolve the function descriptor that an FDPIC module gives as a callback. Add them to the list of these entry points in fdpic.rst. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- Documentation/os/binfmt/fdpic.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/os/binfmt/fdpic.rst b/Documentation/os/binfmt/fdpic.rst index d10c71465ab..11dee4ef1b0 100644 --- a/Documentation/os/binfmt/fdpic.rst +++ b/Documentation/os/binfmt/fdpic.rst @@ -348,10 +348,11 @@ would jump into RAM data, so an entry point that accepts a callback from a module has to resolve the descriptor first. ``CONFIG_FDPIC`` makes these do so: -``qsort``, ``bsearch``, ``pthread_create``, ``signal``/``sigaction``, -``task_create``/``task_create_with_stack``, ``task_spawn``, -``pthread_once``, ``scandir``, and ``mq_notify``/``timer_create`` with -``SIGEV_THREAD``. +``qsort``, ``bsearch``, ``lfind``/``lsearch``, ``tsearch``, ``tfind``, +``tdelete``, ``twalk``, ``tdestroy``, ``pthread_create``, +``signal``/``sigaction``, ``task_create``/``task_create_with_stack``, +``task_spawn``, ``pthread_once``, ``scandir``, and +``mq_notify``/``timer_create`` with ``SIGEV_THREAD``. Whether a pointer is a descriptor is decided by reading the PIC base register: a module's task runs with its data base there, a firmware task
