Hi Geert
Thank you for your review
But, current SH strnpy() has 2 issues. 1st is it will access to out-of-memory (= src + 10).
I believe this is not correct: the code does not really access memory beyond the end of the source string. (Recent) gcc just thinks so, because "__src+__n" is used as a parameter to the routine.
I see. Will fix in v2
Thank you for your help !! Best regards --- Kuninori Morimoto