From 3bcd741d568453676643eac46ecf6749022fbc42 Mon Sep 17 00:00:00 2001 From: "Gu://em_" Date: Thu, 8 Jan 2026 15:02:33 +0100 Subject: [PATCH] doc: finished --- src/io_backend/io_backend.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/io_backend/io_backend.h b/src/io_backend/io_backend.h index 34d85f3..0bcfdca 100644 --- a/src/io_backend/io_backend.h +++ b/src/io_backend/io_backend.h @@ -29,17 +29,14 @@ struct iob_context { */ int iob_init(struct iob_context *context); -/* TODO - * - * - * +/* @brief Closes the opened buffers and exits the modules gracefully */ -void iob_close(); +void iob_close(void); -/*i TODO - * - * +/* @brief reads at most one line of the input and stores it into *stream * + * @param stream is a pointer that will be set to a string to parse + * @return the number of read characters if positive, the error code otherwise */ ssize_t stream_read(char** stream);