1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-01-26 09:11:54 +05:30

reverse-ramdisk.c: change comment style and wrap

This commit is contained in:
パチュリー・ノーレッジ 2024-01-03 22:02:31 +03:00
parent 7ab89ffc53
commit ab8843ee14
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -1,16 +1,18 @@
/* /*
C programming idea: Handling temporary files like memory allocations (allocating -> creating empty file, using -> locking for R/W, freeing -> deleting). * C programming idea: Handling temporary files like memory allocations
* (allocating -> creating empty file, using -> locking for R/W,
20% AI, 80% human (the code is tested and reviewed) * freeing -> deleting).
*
Warning: The current result is quick and dirty. Not for educational or * 20% AI, 80% human (the code is tested and reviewed)
production purposes. *
* Warning: The current result is quick and dirty. Not for educational or
GCC/Clang/TCC: Compile with -DTEST to set macro TEST as defined, with -DDEBUG * production purposes.
to enable debug mode *
* GCC/Clang/TCC: Compile with -DTEST to set macro TEST as defined, with
To-Do: Add thread-safe versions of functions (use postfix `_r`) * -DDEBUG to enable debug mode
*/ *
* To-Do: Add thread-safe versions of functions (use postfix `_r`)
*/
#include <errno.h> #include <errno.h>
#include <inttypes.h> #include <inttypes.h>