-
Daiki Ueno authored
Even if the given string is shorter than n, the result should be null terminated. This matches the behavior of strndup().
ea62c2dc
Even if the given string is shorter than n, the result should be null terminated. This matches the behavior of strndup().