new fuction g_dirname() which returns a newlly allocated string.

Tue Jul 14 09:05:18 1998  Tim Janik  <timj@gtk.org>

        * glib.h:
        * gutils.c: new fuction g_dirname() which returns a newlly
        allocated string.
This commit is contained in:
Tim Janik
1998-07-14 07:39:07 +00:00
committed by Tim Janik
parent 478632418e
commit acc1c38efe
14 changed files with 168 additions and 0 deletions

1
glib.h
View File

@@ -840,6 +840,7 @@ gint g_snprintf (gchar *string,
...) G_GNUC_PRINTF (3, 4);
gchar* g_basename (const gchar *file_name);
gchar* g_getcwd (void);
gchar* g_dirname (const gchar *file_name);
/* We make the assumption that if memmove isn't available, then