|
58025bc364
|
cpuid_vendor_id.mod.c: make use of EXIT_SUCCESS
|
2025-03-09 17:32:04 +03:00 |
|
|
11d2cf6be4
|
cpuid_vendor_id.mod.c: use fixed width types
|
2025-03-09 17:22:50 +03:00 |
|
|
b45d4a865e
|
cpuid_vendor_id.mod.c: don't waste 1 char for convenience
|
2025-03-09 14:10:25 +03:00 |
|
|
3a31367749
|
cpuid_vendor_id.mod.c: reformat: replace unsigned int * to unsigned*
|
2025-03-09 14:07:52 +03:00 |
|
|
ae4a82c2aa
|
freadln: add more flavors
|
2025-03-02 14:08:43 +03:00 |
|
|
39de2a67d8
|
freadln.c: test: make use of length_out
|
2025-03-02 14:06:42 +03:00 |
|
|
2e294a2047
|
freadln.c: set errno to EINVAL if output is NULL
|
2025-03-02 13:49:16 +03:00 |
|
|
76f0fe22db
|
freadln.c: remove 1 task
|
2025-03-02 13:26:38 +03:00 |
|
|
36fbab62a1
|
freadln.c: test: remove POSIX-specific sleeping
|
2025-03-02 13:25:59 +03:00 |
|
|
aa22481f13
|
static-vs-dynamic-mem-alloc.c: use realistic memory growth
|
2025-03-02 13:12:50 +03:00 |
|
|
91801fdc5a
|
static-vs-dynamic-mem-alloc.c: fix output format
|
2025-03-02 13:11:02 +03:00 |
|
|
ad9ee13fb6
|
C: jokes: add .gitignore
|
2025-03-02 13:06:59 +03:00 |
|
|
2517537ee9
|
C: add static-const-variable.c
|
2025-03-02 12:28:40 +03:00 |
|
|
a4912b3671
|
static-vs-dynamic-mem-alloc.c: function empty: discard mem
|
2025-03-02 12:27:40 +03:00 |
|
|
0c8f34b6fe
|
asprintf.c: use long double type for calculation 2^32 - 1
|
2024-12-30 23:51:23 +03:00 |
|
|
ae71ff9c42
|
asprintf.c: fix the critical bug: copy the arguments
|
2024-12-30 23:49:50 +03:00 |
|
|
545ac7e706
|
clock_hr_microsec.h: include header time.h
|
2024-12-30 21:00:31 +03:00 |
|
|
2bc49fc527
|
freadln.c: add missing inclusion of string.h
|
2024-12-30 20:06:54 +03:00 |
|
|
f8227e4ffb
|
reverse-ramdisk.c: revision 2
|
2024-07-31 01:30:03 +03:00 |
|
|
60b6a4cb86
|
reverse-ramdisk.c: return EXIT_SUCCESS instead of 0
|
2024-07-30 17:57:26 +03:00 |
|
|
ea8aad6108
|
reverse-ramdisk.c: implement tf_finish
|
2024-07-30 17:56:40 +03:00 |
|
|
de03ab20f9
|
reverse-ramdisk.c: fix file locking
|
2024-07-30 17:50:36 +03:00 |
|
|
b1cce2603a
|
reverse-ramdisk.c: reformat
|
2024-07-30 17:50:04 +03:00 |
|
|
57c368e6c9
|
reverse-ramdisk.c: improve readability and optimize
|
2024-07-30 17:46:22 +03:00 |
|
|
61bc7a0725
|
reverse-ramdisk.c: fix grammar
|
2024-07-30 17:42:49 +03:00 |
|
|
3f4c38c1e1
|
reverse-ramdisk.c: reduce memory overhead
|
2024-07-30 17:40:45 +03:00 |
|
|
9c44ce5af2
|
reverse-ramdisk.c: fix memory safety
|
2024-07-30 17:39:00 +03:00 |
|
|
044c7b892c
|
reverse-ramdisk.c: tf_alloc: use permissions
|
2024-07-30 17:34:24 +03:00 |
|
|
068591cd8e
|
relicense everything under CC0-1.0 or Unlicense, add SPDX ID
|
2024-07-15 00:03:15 +03:00 |
|
|
a4f2974468
|
clock_hr_microsec.c: reformat
|
2024-07-04 23:09:45 +03:00 |
|
|
5a785bfd9f
|
bool-operations.c: optimize printf(s "\n") to puts(s)
|
2024-07-03 11:21:38 +03:00 |
|
|
1ff2eec112
|
str_replace.h: add missing macros
|
2024-06-28 14:03:49 +03:00 |
|
|
6b0cde0aa2
|
str_replace.c: do not exit program on malloc failure
|
2024-06-28 14:02:06 +03:00 |
|
|
32050ac6a8
|
str_replace.c: dedicate a parameter for backward search
Improve the test
|
2024-06-28 14:01:30 +03:00 |
|
|
1ad67ca96c
|
str_replace.c: label code blocks
|
2024-06-28 13:58:56 +03:00 |
|
|
c3d1f9350a
|
str_replace.h: make sure the header is included only once
|
2024-06-28 13:56:17 +03:00 |
|
|
f62488731f
|
str_replace.c: fix grammar
|
2024-06-28 13:53:30 +03:00 |
|
|
e7272e8043
|
portable_basename.* + clock_hr_microsec.*: split and improve
|
2024-06-28 13:51:54 +03:00 |
|
|
841472299f
|
clock-malfunction-imitation.c: explain more
|
2024-06-28 13:48:45 +03:00 |
|
|
ce575434ef
|
opt_int_div.h: prevent multiple inclusion
|
2024-06-26 12:16:50 +03:00 |
|
|
998b3a1e28
|
portable_basename.c: replace TODO + FIXME to just FIXME
|
2024-06-26 12:00:13 +03:00 |
|
|
269c1dec27
|
safe_mem.test.c: enhance macro DUMP_INT_ARRAY for multiple scenarios
|
2024-06-26 11:57:03 +03:00 |
|
|
f14e505673
|
cpuid_vendor_id.mod.c: reformat
|
2024-06-26 11:48:55 +03:00 |
|
|
a748a8ea99
|
reverse-ramdisk.c: improve the instructions
|
2024-06-26 11:47:31 +03:00 |
|
|
95fa449675
|
portable_basename.c: remove junk
|
2024-06-26 11:45:55 +03:00 |
|
|
339eb170ec
|
cpuid_vendor_id.mod.c: make use of enum
|
2024-06-26 00:18:51 +03:00 |
|
|
6efb83187f
|
clock-malfunction-imitation.c: optimize the use of STDOUT functions
|
2024-06-26 00:11:02 +03:00 |
|
|
3165f3c358
|
clock-malfunction-imitation.c: seed stdlib randomization
|
2024-06-26 00:07:49 +03:00 |
|
|
c2947aee3a
|
clock-malfunction-imitation.c: simplify randomization
|
2024-06-26 00:05:49 +03:00 |
|
|
f4b69e0f9f
|
clock-malfunction-imitation.c: fix the comment
|
2024-06-26 00:02:14 +03:00 |
|