#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <strings.h>
#include "bsd_glob.h"
typedef struct {
int x_GLOB_ERROR;
} my_cxt_t;
#include "const-c.inc"
#ifdef WIN32
#else
int
}
#endif
BOOT:
{
}
void
char *pattern
PROTOTYPE: $;$
int i;
int retval;
int flags = 0;
{
/* allow for optional flags argument */
if (items > 1) {
/* remove unsupported flags */
}
/* call glob */
GLOB_ERROR = retval;
/* return any matches found */
/* printf("# bsd_glob: %s\n", pglob.gl_pathv[i]); */
}
}