Commit Graph

56 Commits

Author SHA1 Message Date
kdx
575ed7aa64 reduce galloc memory 2023-07-25 05:27:21 +02:00
kdx
46d7e9c85c geadline: move cursor 2023-07-25 05:10:15 +02:00
2fab31d822 opti: strchr 2023-07-24 08:55:19 +02:00
a7e050c351 add: contain_only 2023-07-24 08:55:10 +02:00
a39e4a780d strlen: check if the str == NULL 2023-07-24 03:28:42 +02:00
d3e788868a update geadline on realloc 2023-07-24 02:59:08 +02:00
5dcace0cbe remove get_line, replaced by readline 2023-07-24 02:57:44 +02:00
85aeaebc7a add: realloc and remove reallocarray 2023-07-24 02:57:44 +02:00
kdx
6051375f6a geadline first version 2023-07-24 01:06:11 +02:00
fa5a7755e4 add: replace 2023-07-23 21:08:37 +02:00
3c39d72bbe add: get_line 2023-07-23 19:57:08 +02:00
1d9de5df65 add: galloc: free: check if the ptr is valid 2023-07-23 19:38:40 +02:00
c688cfc4b1 fix: \0 2023-07-23 19:20:51 +02:00
f9fa2a5a12 add: realloc 2023-07-23 15:35:32 +02:00
c6608ad4eb add: galloc: leak check 2023-07-23 15:35:16 +02:00
7e0c7180d3 fix: galloc: put function in 'static' 2023-07-23 15:18:44 +02:00
1f60f4eab0 add: \0 in strcpy strncpy and strcat 2023-07-23 15:00:08 +02:00
Camille Chauvet
f79262b803 add: get_raw_bit 2023-06-24 14:10:40 +00:00
Camille Chauvet
4020de85e2 clean: remove trash file 2023-06-20 13:48:28 +02:00
Camille Chauvet
752d4bcbd1 add: defini 2023-06-20 13:47:58 +02:00
57e78cb70a add: signed number 2023-06-18 20:25:15 +02:00
0a152b9bef add: ntoa_s 2023-06-18 20:13:52 +02:00
7d6e6c79db add: aton_s 2023-06-18 20:07:13 +02:00
85a5b567b2 core: all int is now num 2023-06-18 20:03:32 +02:00
8c972a3096 clean rename itoa to ntoa for number to ascii 2023-06-18 19:49:21 +02:00
c6728cfe49 add: split 2023-06-18 19:42:57 +02:00
a49499e78e fix: strdup: add 1 to galloc for the \0 2023-06-18 19:08:01 +02:00
22c500564a add: strdup 2023-06-18 18:48:08 +02:00
d0f4398f78 add: strchri 2023-06-18 18:11:55 +02:00
e7a752458f add: strndup 2023-06-18 18:06:17 +02:00
370657c291 fix: function have the right name 2023-06-18 17:29:30 +02:00
3e51e2f661 add: putnum 2023-06-18 17:12:45 +02:00
889006903b add: strstr 2023-06-18 16:48:35 +02:00
kdx
29c3992343 use postfix and variable initialisation 2023-06-18 16:15:44 +02:00
54523b29c0 add: strncmp 2023-06-18 15:37:24 +02:00
8e437695a0 fix: add memory to galloc 2023-06-18 15:16:29 +02:00
9961196e0f add: strcmp 2023-06-18 15:07:38 +02:00
8966db1c22 fix: free get the right size 2023-06-18 15:07:11 +02:00
496b92aed9 add: itoa && create test_int func to test func return int and test_str to ... 2023-06-18 12:39:18 +02:00
60ca301082 add: free 2023-06-18 11:11:23 +02:00
15c3f07692 fix: last block is now right initialise 2023-06-17 00:31:27 +02:00
9d349d1528 fix: use define to replace literal value 2023-06-17 00:11:42 +02:00
a69a870d49 core: invert prev and next pos 2023-06-17 00:07:39 +02:00
Camille Chauvet
137eaac64f fix: size of the next block is now tight 2023-06-16 17:20:20 +00:00
Camille Chauvet
1df3e20531 fix: padding doesn't create a memory smash 2023-06-16 15:54:54 +00:00
Camille Chauvet
76c659e6a3 fix: underflow 2023-06-16 15:51:45 +00:00
Camille Chauvet
6ff71db96a fix: fucking suck define implementation 2023-06-14 17:30:44 +00:00
Camille Chauvet
9e53614c44 add: test to galloc and advance on galloc 2023-06-14 15:51:21 +00:00
Camille Chauvet
5bc4e3ee51 add: galloc init 2023-06-13 14:27:15 +00:00
Camille Chauvet
88b1ae93b3 add: strchr 2023-06-12 18:27:02 +00:00