Skip to content

Conversation

@ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Jan 6, 2026

Adds implementations for these functions:

  • memchr
  • memcmp
  • strcat
  • strchr
  • strcpy (I think its possible to optimize this further)
  • strncpy (based off stpncpy, so probably could be optimized further)
  • strstr (wraps memmem, so probably could be optimized further)
  • strncat
  • strtok_r
  • strtok (wraps strtok_r)

@ZERICO2005
Copy link
Contributor Author

My intent is to rebase everything into two/three commits:

  • add functions
  • maybe another just for strtok(_r)?
  • add tests

@ZERICO2005 ZERICO2005 changed the title UNSTABLE | added draft libc functions Added non-OS libc functions Jan 13, 2026
@ZERICO2005 ZERICO2005 marked this pull request as ready for review January 13, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants