summaryrefslogtreecommitdiff
path: root/docs/application/buffer.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-07-03 13:27:41 -0400
committernodist <kevin.comas.git@gmail.com>2026-07-03 13:27:41 -0400
commitbe4f67c834719a8d12f5588d42d64bd39d1cb0c6 (patch)
tree7b308dc3df225ac16db20e59cf459fc66f0a0250 /docs/application/buffer.md
parent523649ed10f85bddcad574afa47abaf73d2b0a1e (diff)
add more lifecycle
Diffstat (limited to 'docs/application/buffer.md')
-rw-r--r--docs/application/buffer.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/application/buffer.md b/docs/application/buffer.md
index ea30458..92de6ae 100644
--- a/docs/application/buffer.md
+++ b/docs/application/buffer.md
@@ -7,10 +7,15 @@
```c
typedef struct _kpl_buffer {
KPL_ALLOC_HEADER(struct _kpl_buffer);
- size_t byte_length;
+ size_t byte_length : KPL_ALLOC_POOL_SIZE;
+ int32_t io_register_index : KPL_ALLOC_WEIGHT;
kpl_interface *interface;
uint8_t bytes[];
} kpl_buffer;
```
+## Io uring buffer register
+
+### Set `io_register_index` to -1 of not used
+
## Unicode Methods