diff options
author | Kuan-Wei Chiu <visitorckw@gmail.com> | 2024-03-05 21:36:23 +0800 |
---|---|---|
committer | Kuan-Wei Chiu <visitorckw@gmail.com> | 2024-04-25 21:31:03 +0800 |
commit | 32bc3cee9da58b9e9d498d7d0896fd7715b7b862 (patch) | |
tree | 9f8ffe961084d4a3c53f9e845f077e87b509a7bf /net/unix/sysctl_net_unix.c | |
parent | 4b004992fb1469652017cb336a2cba284c7e6ba4 (diff) |
lib min_heap: Add min_heap_peek()
Add min_heap_peek() function to retrieve a pointer to the smallest
element. The pointer is cast to the appropriate type of heap elements.
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions