Sheldon Sandbekkhaug

Results 20 comments of Sheldon Sandbekkhaug

I would like to request a string compare function like memcmp. All it does is compare two strings of bytes.

For the argument parser, all we need at the moment is a memory comparing function like memcmp so that we can compare two strings. I'll let you know if the...

Thanks for adding those two functions. Do you think you could push your changes so I can use them?

I've been thinking that a function to split a string (like strtok) may be useful. Is that something that should be in our libc?

Would it be alright with you guys (the people working on libc) if I went ahead and added strtok or something like it from MUSL?

I think memcpy (or a function that copies a region of memory from one location to another) could be useful.

^That was an accident, sorry.

Are you guys still working on klibc? I wouldn't mind adding strtok from MUSL myself if that's alright with you guys.

I've added a couple of functions from MUSL to klibc. However, I think strtok is not working properly, so I'm going try to figure out what the problem is.

ascensionra, no problem! I just want to get things done, you know? :) SUMDude21, I had copied the strtok from MUSL. I put it in klibc.c under os_strtok(). It turns...