usr/src/lib/libc/port/llib-lc
changeset 13497 205481e35e49
parent 13151 61094292b8c8
child 14022 19e11862653b
--- a/usr/src/lib/libc/port/llib-lc	Fri Oct 28 20:17:44 2011 -0400
+++ b/usr/src/lib/libc/port/llib-lc	Sat Oct 29 05:11:55 2011 +0400
@@ -21,6 +21,7 @@
 
 /*
  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  */
 
 /* LINTLIBRARY */
@@ -45,6 +46,7 @@
 #include <fmtmsg.h>
 #include <fnmatch.h>
 #include <ftw.h>
+#include <glob.h>
 #include <getwidth.h>
 #include <grp.h>
 #include <iconv.h>
@@ -1141,6 +1143,11 @@
  * /usr/src/lib/libc/port/regex routines
  */
 
+/* glob.c */
+extern int glob(const char *restrict pattern, int flags,
+    int(*errfunc)(const char *epath, int eerrno), glob_t *restrict pglob);
+extern void globfree(glob_t *pglob);
+
 /* regex.c */
 char *regex(const char *regexp, const char *stringp, ...);
 #ifdef __loc1