2023-04-20 22:03:39 +00:00
|
|
|
// This file is part of noxos and licensed under the MIT open source license
|
|
|
|
|
2023-05-29 15:40:48 +00:00
|
|
|
#include "public/nox/string.h"
|
2023-04-20 22:03:39 +00:00
|
|
|
|
|
|
|
uint64_t strlen(string_t str) {
|
|
|
|
uint64_t n = 0;
|
2023-05-29 15:40:48 +00:00
|
|
|
while (str[n++]);
|
2023-04-20 22:03:39 +00:00
|
|
|
return n;
|
|
|
|
}
|