diff options
author | Tim Janik <timj@gtk.org> | 1998-09-02 14:57:10 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-09-02 14:57:10 +0000 |
commit | 519435e6425cb0142d88c0a12da9c9b2cf7be923 (patch) | |
tree | 5cdc412c1c5fcad5e953b9c671d78f24f04d7daf /glib.h | |
parent | 7401460a60504dad7b77219d0ba3d93112e12444 (diff) |
new function g_strnfill() to return a new string of specified length,
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gstrfuncs.c: new function g_strnfill() to return a new string
of specified length, filled with a specific character.
Diffstat (limited to 'glib.h')
-rw-r--r-- | glib.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1128,7 +1128,9 @@ gchar* g_strdup_printf (const gchar *format, gchar* g_strdup_vprintf (const gchar *format, va_list args); gchar* g_strndup (const gchar *str, - gulong n); + guint n); +gchar* g_strnfill (guint length, + gchar fill_char); gchar* g_strconcat (const gchar *string1, ...); /* NULL terminated */ gdouble g_strtod (const gchar *nptr, |