1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-28 00:00:18 +05:30
Commit Graph

5 Commits

Author SHA1 Message Date
1ec1b4a9e7
C: add test for asprintf.c 2024-01-28 15:46:26 +03:00
b10cdd7215
asprintf.c: fix use of malloc
1. Pass `size_t` variable to `malloc`
2. Multiply the count of bytes to allocate by `sizeof(char)`
2024-01-28 13:49:25 +03:00
cde36888a3
asprintf.c: optimize size + 1
with fixup applied
2024-01-28 13:43:56 +03:00
f98cbbaf84
add copyleft notices 2024-01-25 20:33:58 +03:00
5464b1f85a
add c-programming/asprintf.* 2024-01-15 19:42:17 +03:00