LADSoft / OrangeC

OrangeC Compiler And Tool Chain
http://ladsoft.tripod.com/orange_c_compiler.html
Other
291 stars 39 forks source link

FR: implement strnlen #913

Closed GitMensch closed 1 year ago

GitMensch commented 1 year ago

That's a POSIX extension, not standard C, we can add support for it, but I haven't seen it before.

Originally posted by @chuggafan in https://github.com/LADSoft/OrangeC/issues/278#issuecomment-1633385255

ghost commented 1 year ago

https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/strnlen-strnlen-s?view=msvc-170