From ab8843ee149d43f51c33e22b51146d7af32495f7 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Wed, 3 Jan 2024 22:02:31 +0300 Subject: [PATCH] reverse-ramdisk.c: change comment style and wrap --- c-programming/reverse-ramdisk.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/c-programming/reverse-ramdisk.c b/c-programming/reverse-ramdisk.c index 3ff1088..5581800 100644 --- a/c-programming/reverse-ramdisk.c +++ b/c-programming/reverse-ramdisk.c @@ -1,16 +1,18 @@ /* -C programming idea: Handling temporary files like memory allocations (allocating -> creating empty file, using -> locking for R/W, freeing -> deleting). - -20% AI, 80% human (the code is tested and reviewed) - -Warning: The current result is quick and dirty. Not for educational or -production purposes. - -GCC/Clang/TCC: Compile with -DTEST to set macro TEST as defined, with -DDEBUG -to enable debug mode - -To-Do: Add thread-safe versions of functions (use postfix `_r`) -*/ + * C programming idea: Handling temporary files like memory allocations + * (allocating -> creating empty file, using -> locking for R/W, + * freeing -> deleting). + * + * 20% AI, 80% human (the code is tested and reviewed) + * + * Warning: The current result is quick and dirty. Not for educational or + * production purposes. + * + * GCC/Clang/TCC: Compile with -DTEST to set macro TEST as defined, with + * -DDEBUG to enable debug mode + * + * To-Do: Add thread-safe versions of functions (use postfix `_r`) + */ #include #include