From 692eb05bf5e621bcef6d3d35bdb1e2cd044fffc6 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 10 Mar 2024 14:08:28 +0300 Subject: [PATCH] freadln.c: add new TODOs --- c-programming/io/freadln.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/c-programming/io/freadln.c b/c-programming/io/freadln.c index 7e583c4..7106b96 100644 --- a/c-programming/io/freadln.c +++ b/c-programming/io/freadln.c @@ -8,6 +8,10 @@ * License: Creative Commons Zero 1.0 Universal * * TODO: Figure out potential problems + * TODO: Add 'flushing' of STDIN (while there are characters, read them) before + * the input reading loop to avoid input queues + * TODO: Add the feature of reading from arbitrary file, then extract a macro: + * `#define finreadln(output, length_out) freadln(stdin, output, length_out)` */ #include "freadln.h"