noxos (docs): documented the new standard file descriptors

This commit is contained in:
antifallobst 2023-04-20 16:49:10 +02:00
parent 66fba6b20f
commit 818279be46
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ This is a typedef of `ìnt32_t` and represents a file descriptor.
# `std_file_descriptors_E` - enum # `std_file_descriptors_E` - enum
These are reserved file descriptors. These are reserved file descriptors.
* `FILE_DESCRIPTOR_INVALID` - This represents an invalid file descriptor, just like NULL is an invalid pointer. * `FILE_DESCRIPTOR_INVALID` - This represents an invalid file descriptor, just like NULL is an invalid pointer.
* `FILE_DESCRIPTOR_STDOUT` - This represents the file descriptor that is used, when writing to the Standard-Output stream.
* `FILE_DESCRIPTOR_STDIN` - This represents the file descriptor that is used, when reading from the Standard-Input stream.
* `FILE_DESCRIPTOR_STDERR` - This represents the file descriptor that is used, when writing to the Standard-Error stream.
# `file_descriptor_array_chunk_T` - struct # `file_descriptor_array_chunk_T` - struct
| Name | Type | Description | | Name | Type | Description |