usr/src/lib/libc/port/llib-lc
changeset 13497 205481e35e49
parent 13151 61094292b8c8
child 14022 19e11862653b
equal deleted inserted replaced
13496:732144cfe2ef 13497:205481e35e49
    19  * CDDL HEADER END
    19  * CDDL HEADER END
    20  */
    20  */
    21 
    21 
    22 /*
    22 /*
    23  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
    23  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
       
    24  * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
    24  */
    25  */
    25 
    26 
    26 /* LINTLIBRARY */
    27 /* LINTLIBRARY */
    27 /* PROTOLIB1 */
    28 /* PROTOLIB1 */
    28 
    29 
    43 #include <fcntl.h>
    44 #include <fcntl.h>
    44 #include <float.h>
    45 #include <float.h>
    45 #include <fmtmsg.h>
    46 #include <fmtmsg.h>
    46 #include <fnmatch.h>
    47 #include <fnmatch.h>
    47 #include <ftw.h>
    48 #include <ftw.h>
       
    49 #include <glob.h>
    48 #include <getwidth.h>
    50 #include <getwidth.h>
    49 #include <grp.h>
    51 #include <grp.h>
    50 #include <iconv.h>
    52 #include <iconv.h>
    51 #include <langinfo.h>
    53 #include <langinfo.h>
    52 #include <libgen.h>
    54 #include <libgen.h>
  1139 
  1141 
  1140 /*
  1142 /*
  1141  * /usr/src/lib/libc/port/regex routines
  1143  * /usr/src/lib/libc/port/regex routines
  1142  */
  1144  */
  1143 
  1145 
       
  1146 /* glob.c */
       
  1147 extern int glob(const char *restrict pattern, int flags,
       
  1148     int(*errfunc)(const char *epath, int eerrno), glob_t *restrict pglob);
       
  1149 extern void globfree(glob_t *pglob);
       
  1150 
  1144 /* regex.c */
  1151 /* regex.c */
  1145 char *regex(const char *regexp, const char *stringp, ...);
  1152 char *regex(const char *regexp, const char *stringp, ...);
  1146 #ifdef __loc1
  1153 #ifdef __loc1
  1147 #undef __loc1
  1154 #undef __loc1
  1148 #endif
  1155 #endif