diff --git a/docs/functions/core/memory/why2_fdopen.md b/docs/functions/core/memory/why2_fdopen.md new file mode 100644 index 0000000..3fb6968 --- /dev/null +++ b/docs/functions/core/memory/why2_fdopen.md @@ -0,0 +1,38 @@ + + +# why2_fdopen + +## Parameters + +| Identifier | Data type | +| ---------- | --------- | +| `file` | `int` | +| `modes` | `char *` | + +## Attributes + +| | | +| ------------------ | ---------------------------------------------- | +| **Return type** | `void *` | +| **Header comment** | *This functions doesn't have any description.* | +| **Added in commit** | [`1285f52b6737093f802163b3dc313253ea96f5bc`](https://github.com/ENGO150/WHY2/commit/1285f52b6737093f802163b3dc313253ea96f5bc) | + +## Description + +Function passes `file` and `modes` into [`fdopen`](https://linux.die.net/man/3/fdopen) function and returns the output value. The value is also pushed to [`linked-list`](../../../../types/core/llist/why2_list_t) for garbage collector. \ No newline at end of file diff --git a/docs/functions/index.md b/docs/functions/index.md index 92c81e9..1313015 100644 --- a/docs/functions/index.md +++ b/docs/functions/index.md @@ -95,6 +95,7 @@ You can find documentation for every *public* function of WHY2 below. | [`why2_recalloc`](./core/memory/why2_recalloc) | Same as why2_realloc but fills the pointer with null-terms | | [`why2_strdup`](./core/memory/why2_strdup) | *This functions doesn't have any description.* | | [`why2_fopen`](./core/memory/why2_fopen) | *This functions doesn't have any description.* | +| [`why2_fdopen`](./core/memory/why2_fdopen) | *This functions doesn't have any description.* | ## Logger