view osdep/glob.h @ 25327:a7b716b53e9f

Replace SYS_DARWIN conditional directive around gcc macros by __APPLE_CC__. The macro definition depends on compiler capabilities, not OS features.
author diego
date Tue, 11 Dec 2007 20:07:18 +0000
parents a42f91a779b8
children 6ac1ece1f9fe
line wrap: on
line source

#include "config.h"

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);