mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-11-09 21:32:02 +05:30
reverse-ramdisk.c: change comment style and wrap
This commit is contained in:
parent
7ab89ffc53
commit
ab8843ee14
@ -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 <errno.h>
|
||||
#include <inttypes.h>
|
||||
|
Loading…
Reference in New Issue
Block a user