diff --git a/docs/functions/core/llist/why2_list_find.md b/docs/functions/core/llist/why2_list_find.md new file mode 100644 index 0000000..0e0e77a --- /dev/null +++ b/docs/functions/core/llist/why2_list_find.md @@ -0,0 +1,38 @@ + + +# why2_list_find + +## Parameters + +| Identifier | Data type | +| ---------- | ----------------------------------------------------------- | +| `list` | [`why2_list_t *`](../../../../types/core/llist/why2_list_t) | +| `value` | `void *` | + +## Attributes + +| | | +| ------------------ | --------------------------------------------------------------------- | +| **Return type** | [`why2_node_t *`](../../../../types/core/llist/why2_node_t) | +| **Header comment** | `FIND ELEMENT IN LIST` | +| **Added in commit** | [`10632e00703f0935d963c1e2133940c061eb8ed3`](https://github.com/ENGO150/WHY2/commit/10632e00703f0935d963c1e2133940c061eb8ed3) | + +## Description + +Finds node containing `value` and returns pointer to it. If no match is found, `NULL` is returned. \ No newline at end of file diff --git a/docs/functions/index.md b/docs/functions/index.md index 956c512..331b678 100644 --- a/docs/functions/index.md +++ b/docs/functions/index.md @@ -81,6 +81,7 @@ You can find documentation for every *public* function of WHY2 below. | [`why2_list_remove`](./core/llist/why2_list_remove) | Remove element | | [`why2_list_remove_at`](./core/llist/why2_list_remove_at) | Remove element with index index | | [`why2_list_remove_back`](./core/llist/why2_list_remove_back) | Remove last element | +| [`why2_list_find`](./core/llist/why2_list_find) | Find element in list | ## Logger