created doc for why2_fopen
This commit is contained in:
parent
260c998782
commit
aa10164390
38
docs/functions/core/memory/why2_fopen.md
Normal file
38
docs/functions/core/memory/why2_fopen.md
Normal file
@ -0,0 +1,38 @@
|
||||
<!--
|
||||
This is part of WHY2
|
||||
Copyright (C) 2022 Václav Šmejkal
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
# why2_fopen
|
||||
|
||||
## Parameters
|
||||
|
||||
| Identifier | Data type |
|
||||
| ---------- | --------- |
|
||||
| `name` | `char *` |
|
||||
| `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 `name` and `modes` into [`fopen`](https://linux.die.net/man/3/fopen) function and returns the output value. The value is also pushed to [`linked-list`](../../../../types/core/llist/why2_list_t) for garbage collector.
|
@ -94,6 +94,7 @@ You can find documentation for every *public* function of WHY2 below.
|
||||
| [`why2_realloc`](./core/memory/why2_realloc) | This doesn't preserve content of pointer! |
|
||||
| [`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.* |
|
||||
|
||||
## Logger
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user