Equivalent to gstrndup, but will always duplicate exactly n bytes of str. Thus, out of bounds reads at str may happen.
See Implementation
Equivalent to gstrndup, but will always duplicate exactly n bytes of str. Thus, out of bounds reads at str may happen.