Print this page
4964 nl_langinfo(CRNCYSTR) returns wrong alignment character
4999 libc test suite enhancements
4939 desire wcsnrtombs() function
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: TBD


   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24  * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  25  * Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved.
  26  * Copyright (c) 2013 Gary Mills

  27  */
  28 
  29 /* LINTLIBRARY */
  30 /* PROTOLIB1 */
  31 
  32 #define __EXTENSIONS__
  33 
  34 #include <aio.h>
  35 #include <alloca.h>
  36 #include <attr.h>
  37 #include <atomic.h>
  38 #include <ctype.h>
  39 #include <deflt.h>
  40 #include <dirent.h>
  41 #include <dlfcn.h>
  42 #include <door.h>
  43 #include <err.h>
  44 #include <sys/errno.h>
  45 #include <euc.h>
  46 #include <fcntl.h>


 148 #include <wait.h>
 149 #include <wchar.h>
 150 #include <wctype.h>
 151 #include <widec.h>
 152 #include <wordexp.h>
 153 #include <thread.h>
 154 #include <pthread.h>
 155 #include <schedctl.h>
 156 #include <zone.h>
 157 #include <port.h>
 158 #include <spawn.h>
 159 #include <inttypes.h>
 160 #include <getopt.h>
 161 #include <stdio_ext.h>
 162 #if defined(__i386)
 163 #include <sys/sysi86.h>
 164 #endif
 165 #if defined(__amd64)
 166 #include <stack_unwind.h>
 167 #endif

 168 
 169 /*
 170  * This really comes from the crt*.s startup modules.
 171  */
 172 char **environ;
 173 
 174 /*
 175  * This is a GNU/Linux/BSD compatibility interface,
 176  * not declared in any header file.
 177  */
 178 const char *__progname;
 179 
 180 /*
 181  * POSIX versions of standard libc routines; these aren't extracted
 182  * from the headers above since we cannot #define _POSIX_C_SOURCE.
 183  */
 184 int __posix_readdir_r(DIR * _RESTRICT_KYWD, struct dirent * _RESTRICT_KYWD,
 185     struct dirent ** _RESTRICT_KYWD);
 186 int __posix_getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
 187 int __posix_getgrnam_r(const char *, struct group *, char *, size_t,




   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24  * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  25  * Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved.
  26  * Copyright (c) 2013 Gary Mills
  27  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  28  */
  29 
  30 /* LINTLIBRARY */
  31 /* PROTOLIB1 */
  32 
  33 #define __EXTENSIONS__
  34 
  35 #include <aio.h>
  36 #include <alloca.h>
  37 #include <attr.h>
  38 #include <atomic.h>
  39 #include <ctype.h>
  40 #include <deflt.h>
  41 #include <dirent.h>
  42 #include <dlfcn.h>
  43 #include <door.h>
  44 #include <err.h>
  45 #include <sys/errno.h>
  46 #include <euc.h>
  47 #include <fcntl.h>


 149 #include <wait.h>
 150 #include <wchar.h>
 151 #include <wctype.h>
 152 #include <widec.h>
 153 #include <wordexp.h>
 154 #include <thread.h>
 155 #include <pthread.h>
 156 #include <schedctl.h>
 157 #include <zone.h>
 158 #include <port.h>
 159 #include <spawn.h>
 160 #include <inttypes.h>
 161 #include <getopt.h>
 162 #include <stdio_ext.h>
 163 #if defined(__i386)
 164 #include <sys/sysi86.h>
 165 #endif
 166 #if defined(__amd64)
 167 #include <stack_unwind.h>
 168 #endif
 169 #include <xlocale.h>
 170 
 171 /*
 172  * This really comes from the crt*.s startup modules.
 173  */
 174 char **environ;
 175 
 176 /*
 177  * This is a GNU/Linux/BSD compatibility interface,
 178  * not declared in any header file.
 179  */
 180 const char *__progname;
 181 
 182 /*
 183  * POSIX versions of standard libc routines; these aren't extracted
 184  * from the headers above since we cannot #define _POSIX_C_SOURCE.
 185  */
 186 int __posix_readdir_r(DIR * _RESTRICT_KYWD, struct dirent * _RESTRICT_KYWD,
 187     struct dirent ** _RESTRICT_KYWD);
 188 int __posix_getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
 189 int __posix_getgrnam_r(const char *, struct group *, char *, size_t,