mirror of
				https://gitlab.com/80486DX2-66/gists
				synced 2025-05-31 08:31:41 +05:30 
			
		
		
		
	reverse-ramdisk.c: change comment style and wrap
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user