strnfill

fnstring strnfill(size_t length, char fillChar)

Creates a new string length bytes long filled with fill_char.

Parameters

lengththe length of the new string
fillCharthe byte to fill the string with

Returns

a newly-allocated string filled with fill_char