Commit Graph

43 Commits

Author SHA1 Message Date
LinlyBoi
edf0375cf4 too many variables no more 2023-08-22 18:55:55 +03:00
LinlyBoi
9bd0766dac sus indentation ඞ 2023-08-22 18:43:37 +03:00
LinlyBoi
210e49c651 documented fmt 2023-08-22 18:40:33 +03:00
LinlyBoi
a39d84d993 shrinking the last few lines 2023-08-22 18:34:55 +03:00
LinlyBoi
f17ab84939 default so it returns sth always 2023-08-22 18:27:01 +03:00
LinlyBoi
569d88bce0 wrong arg amount 2023-08-22 18:26:26 +03:00
LinlyBoi
944afff188 fmt added 2023-08-22 18:25:59 +03:00
1ca591c62a free() bad 2023-08-22 18:11:00 +03:00
ae280081e0 inline decl, memset fix(??) 2023-08-22 17:50:03 +03:00
LinlyBoi
05df0a9cc4 can't have shit 2023-08-22 16:13:54 +03:00
LinlyBoi
2edaff53d9 lil diff 2023-08-22 15:46:22 +03:00
LinlyBoi
b7ec927b9c yes 2023-08-22 14:50:48 +03:00
LinlyBoi
26f30dda48 commented things to clarify 2023-08-22 14:48:45 +03:00
LinlyBoi
ad695607b5 safely nuking these (no explanation given) 2023-08-22 14:41:46 +03:00
LinlyBoi
d67665a155 removing the put char fixes it 2023-08-22 14:40:06 +03:00
LinlyBoi
9e30a97107 more compact code makes my brain happy 2023-08-22 14:29:46 +03:00
LinlyBoi
297cf9c4a5 printed? 2023-08-22 14:25:46 +03:00
LinlyBoi
59e05c91fe replaced write with puts 2023-08-22 14:16:30 +03:00
LinlyBoi
036625ba8c shrink buffer size upon putting and before freeing 2023-08-22 14:10:08 +03:00
LinlyBoi
7294276338 yes 2023-08-22 14:09:23 +03:00
LinlyBoi
3174bc405f decided where to init the indexes 2023-08-22 14:04:54 +03:00
LinlyBoi
4b798e200c NO DECLARATIONS AND ASSIGNING IN SAME LINE 2023-08-22 14:04:17 +03:00
a36de7eac1 brain dying pls 2023-08-22 13:26:33 +03:00
LinlyBoi
9d491f4873 -1 2023-08-21 14:40:34 +03:00
LinlyBoi
0b561ac266 +1 2023-08-21 14:33:56 +03:00
LinlyBoi
7fda3ce821 refactored append and char test 2023-08-21 14:28:36 +03:00
f316833e4c Deprecito 2023-08-21 13:47:47 +03:00
LinlyBoi
bc32277deb yes 2023-08-21 13:41:10 +03:00
LinlyBoi
883e8b5b9a messed up order 2023-08-21 13:24:56 +03:00
LinlyBoi
7bb2aafbd6 DO NOT do that shit ever again I swear to fucking 2023-08-21 13:22:40 +03:00
8e196d6423 oui 2023-08-21 13:20:33 +03:00
LinlyBoi
ccdc076362 refactor the case of c and moved fmt+=2 2023-08-21 13:10:04 +03:00
LinlyBoi
c90057710a cast to char c 2023-08-21 13:00:04 +03:00
56c807a9cd char insertion poopoo 2023-08-21 12:53:38 +03:00
960ef386ee betty passes, write + 1, NO RETURN _PRTINF PLS 2023-08-21 12:19:24 +03:00
LinlyBoi
6c756ea867 yes 2023-08-21 11:39:20 +03:00
LinlyBoi
64d38b771d fixed some stuff (100%) 2023-08-21 11:22:58 +03:00
LinlyBoi
ac332f48ac please help 2023-08-20 23:08:19 +03:00
LinlyBoi
0df9b1789c this segfaults idk why 2023-08-20 23:02:01 +03:00
LinlyBoi
e6d8091daf I can't even begin to address what was wrong here
1. space missing in #include <stdarg.h>
2. moved declarations above all so betty approves
3. No more mid code variables
4. malloced the buffer initially so its actually on the heap before
freeing
5. added a missing * for the error that was upsetting in the bottom
6. Returning the value of strlen instead of identifiers
2023-08-20 20:16:46 +03:00
cc9901e281 Skeleton %s 2023-08-20 17:45:17 +03:00
64070c8152 lawd help meh 2023-08-20 15:38:49 +03:00
LinlyBoi
1c607342b4 Im nice 2023-08-20 14:39:25 +03:00