Skip to content

Conversation

ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Oct 5, 2025

Implements POSIX strlcat and stpncpy.
stpncpy is faster than strncpy at zero padding dst. I implemented the zero padding with lddr (1R + 1W + 1 per \0) whereas strncpy uses a 6F + 1R + 1W + 1 per \0 loop https://github.com/pcawte/AgDev/blob/main/src/libc/strncpy.src

@ZERICO2005 ZERICO2005 marked this pull request as ready for review October 5, 2025 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant