Function report |
Source Code:lib\list_sort.c |
Create Date:2022-07-28 06:20:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Combine final list merge with restoration of standard doubly-linked* list structure
Proto:__attribute__((nonnull(2, 3, 4, 5))) static void merge_final(void *priv, cmp_func cmp, struct list_head *head, struct list_head *a, struct list_head *b)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | priv | |
| cmp_func | cmp | |
| struct list_head * | head | |
| struct list_head * | a | |
| struct list_head * | b |
| 59 | count = 0 |
| 61 | cycle |
| 70 | Else |
| 84 | Do |
| Name | Describe |
|---|---|
| list_sort | list_sort - sort a list*@priv: private data, opaque to list_sort(), passed to @cmp*@head: the list to sort*@cmp: the elements comparison function* The comparison funtion @cmp must return > 0 if @a should sort after*@b ("@a > @b" if you want an ascending |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |