rcutils
rcutils copied to clipboard
use strnlen_s instead of strnlen if available
use strnlen_s instead of strnlen if available. VxWorks has only strnlen_s
@razr thanks for the PR, DCO is failing. could you address it with comments?
Sorry, I've missed the DSO, will update it. Thank you for pointing it out.
I ended up implementing this with memchr in 6349f20 . @razr Can you take a look and see if this will work for you on VxWorks?
@clalancette it works on VxWorks. LGTM.
@clalancette it works on VxWorks. LGTM.
All right, sounds good. Can you please rebase this PR and add a Signed-off-by line to your commit? Once that is done, I'll rebase this on the latest and run CI.