Function

GLib-2.0GLibstrnfill

  • Creates a new string length bytes long filled with fill_char.

    Parameters

    • length: number

      the length of the new string

    • fill_char: number

      the byte to fill the string with

    Returns string

    a newly-allocated string filled with fill_char