on success, close the pipes from the child. Fix from Tim.
[platform/upstream/glib.git] / glib / gdir.h
1 #ifndef __G_DIR_H__
2 #define __G_DIR_H__
3
4 #include <glib/gerror.h>
5
6 G_BEGIN_DECLS
7
8 typedef struct _GDir GDir;
9
10 GDir    *               g_dir_open      (const gchar  *path,
11                                          guint         flags,
12                                          GError      **error);
13 G_CONST_RETURN gchar   *g_dir_read_name (GDir         *dir);
14 void                    g_dir_rewind    (GDir         *dir);
15 void                    g_dir_close     (GDir         *dir);
16
17 G_END_DECLS
18
19 #endif /* __G_DIR_H__ */