summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-06-20 20:37:17 +0000
committerjhb <jhb@FreeBSD.org>2006-06-20 20:37:17 +0000
commitc9fac30209a97fdedf9aeac93688911025f77170 (patch)
tree752b02bb55e8f018b0e29243b2f03c751e56ee9f /lib/libc/stdlib
parenteef5a2aec40c3dd5f042fede5cc8566d82c27c0d (diff)
downloadFreeBSD-src-c9fac30209a97fdedf9aeac93688911025f77170.zip
FreeBSD-src-c9fac30209a97fdedf9aeac93688911025f77170.tar.gz
- Add a new linker_file_foreach() function that walks the list of linker
file objects calling a user-specified predicate function on each object. The iteration terminates either when the entire list has been iterated over or the predicate function returns a non-zero value. linker_file_foreach() returns the value returned by the last invocation of the predicate function. It also accepts a void * context pointer that is passed to the predicate function as well. Using an iterator function avoids exposing linker internals to the rest of the kernel making locking simpler. - Use linker_file_foreach() instead of walking the list of linker files manually to lookup ndis files in ndis(4). - Use linker_file_foreach() to implement linker_hwpmc_list_objects().
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud