view osdep/glob.h @ 10600:3cf428b56cde

Set close-on-exec after newer open (in reset func). Patch by Andriy Gapon <agapon@cv-nj.com>
author alex
date Wed, 13 Aug 2003 21:04:15 +0000
parents 14c92818ab75
children 08cac43f1e38
line wrap: on
line source

#include "../config.h"

#ifndef HAVE_GLOB
#ifdef __MINGW32__
typedef struct {
  size_t gl_pathc;
  char **gl_pathv;
  size_t gl_offs;
} glob_t;

void globfree(glob_t *pglob);

int  glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);

#endif
#endif