sdutil Write DOS Master Boot Record
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m7s

This commit is contained in:
2026-03-20 21:20:30 +01:00
parent fd800f6210
commit 46710bb2dc
4 changed files with 114 additions and 2 deletions

15
libstring/strconv.c Normal file
View File

@@ -0,0 +1,15 @@
#include <stdint.h>
uint64_t str_to_uint64 (const char* s) {
uint64_t r = 0;
if (!s)
return 0;
while (*s >= '0' && *s <= '9') {
r = r * 10 + (*s - '0');
s++;
}
return r;
}