|
43b5367790
|
perror(): Print unknown errors too with errno
|
2025-06-26 10:33:33 +02:00 |
|
|
232d50576f
|
Add perror() (currently only errors 1-34 from asm-generic/errno-base.h)
|
2025-06-26 09:29:54 +02:00 |
|
|
3e8bcdeb01
|
Get rid of gcc, adds exit()
|
2025-06-25 14:58:02 +02:00 |
|
|
36d21ca18b
|
Ignore invalid specifiers in printf()
|
2025-06-25 14:40:01 +02:00 |
|
|
5ead6ebdb1
|
Add support for '%%' in printf()
|
2025-06-25 14:21:46 +02:00 |
|
|
1e095bec77
|
Add printf() comment, return length of printed message
|
2025-06-25 13:56:30 +02:00 |
|
|
74178a6a2d
|
FIX: Loading arg from stack to wrong register (rsi->rdi) for %d
|
2025-06-25 13:43:06 +02:00 |
|
|
f5e1143138
|
Fix issue in printf() with %d --needed to push+pop several registers before/after itoa() call
|
2025-06-25 13:29:26 +02:00 |
|
|
4438abda11
|
Dump current state of printf() (adding %d support), adds itoa()
|
2025-06-25 13:07:18 +02:00 |
|
|
3a55212f3e
|
Fix stack usage for printf(), add test
|
2025-06-25 12:00:05 +02:00 |
|
|
855487e857
|
printf() no longer crashes, can print string but now aborts after printing first string
|
2025-06-25 11:31:01 +02:00 |
|
|
1969294f02
|
Use direct value for mode in fopen() instead of pointer -- mode is always 1 char so no need to store mode letters in memory
|
2025-06-25 10:15:21 +02:00 |
|
|
fbea8d0322
|
Adds fopen(), fwrite(), fclose()
|
2025-06-25 09:38:42 +02:00 |
|
|
9d265e3db6
|
Fix strcmp()
|
2025-06-25 08:35:25 +02:00 |
|
|
7dd7217e08
|
Improved test message (msgStrcmp)
|
2025-06-24 19:07:30 +02:00 |
|
|
354024c1b7
|
Rewrite tests (most accidentally done in previous commit), add TODO (bugfix) in strcmp()
|
2025-06-24 18:45:17 +02:00 |
|
|
e2de729a87
|
Adds strclr() and strlclr()
|
2025-06-24 18:29:18 +02:00 |
|
|
2005adf25f
|
Use NL/EOS instead of 10/0, use constants.asm for global constants
|
2025-06-24 16:34:06 +02:00 |
|
|
e48e91630e
|
Fix test msg/comment (size for strlcpy 8=>5)
|
2025-06-24 15:54:32 +02:00 |
|
|
e620754b13
|
Adds strlcpy()
|
2025-06-24 15:53:24 +02:00 |
|
|
d3e7f47259
|
Store rcx to r11 instead of stack in tolower()/toupper() tests
|
2025-06-24 15:08:54 +02:00 |
|
|
f4162ed21a
|
(alternative) strcmp()
|
2025-06-23 17:46:42 +02:00 |
|
|
63552b3c64
|
Allow enabling/disabling tests
|
2025-06-23 17:16:24 +02:00 |
|
|
84264e7f5a
|
Test toupper() and tolower() for entire string
|
2025-06-23 17:10:56 +02:00 |
|
|
3ec591aab4
|
tolower(), toupper()
|
2025-06-23 15:47:05 +02:00 |
|
|
2f5e3202db
|
min[u](),max[u](),islower(),isupper(),print(),puts(),strlen(),strcpy(),strcat()
|
2025-06-23 15:07:55 +02:00 |
|