llib-lc revision b811a51ae52cf3dd141a03c928fdcfbd6160c008
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User * CDDL HEADER START
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater * The contents of this file are subject to the terms of the
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * Common Development and Distribution License (the "License").
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * You may not use this file except in compliance with the License.
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * or http://www.opensolaris.org/os/licensing.
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * See the License for the specific language governing permissions
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater * and limitations under the License.
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * When distributing Covered Code, include this CDDL HEADER in each
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * If applicable, add the following below this CDDL HEADER, with the
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * fields enclosed by brackets "[]" replaced with your own identifying
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User * information: Portions Copyright [yyyy] [name of copyright owner]
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * CDDL HEADER END
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * Use is subject to license terms.
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater/* LINTLIBRARY */
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater/* PROTOLIB1 */
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * This really comes from the crt*.s startup modules.
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * POSIX versions of standard libc routines; these aren't extracted
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater * from the headers above since we cannot #define _POSIX_C_SOURCE.
f8e3e03cacd16ffb923a9603fca23a9e1a1fee07Automatic Updaterint __posix_readdir_r(DIR * _RESTRICT_KYWD, struct dirent * _RESTRICT_KYWD,
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updaterint __posix_getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterint __posix_getgrnam_r(const char *, struct group *, char *, size_t,
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterint __posix_getpwuid_r(uid_t, struct passwd *, char *, size_t,
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterint __posix_getpwnam_r(const char *, struct passwd *, char *, size_t,
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterint __posix_sigwait(const sigset_t * _RESTRICT_KYWD, int * _RESTRICT_KYWD);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterchar *__posix_asctime_r(const struct tm *_RESTRICT_KYWD, char *_RESTRICT_KYWD);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterchar *__posix_ctime_r(const time_t *, char *);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterint __posix_ttyname_r(int, char *, size_t);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater * XPG4 versions of standard libc routines; these aren't extracted
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater * from the headers above since we cannot #define _XPG4_2.
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterint __xpg4_putmsg(int, const struct strbuf *, const struct strbuf *, int);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterint __xpg4_putpmsg(int, const struct strbuf *, const struct strbuf *, int, int);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater * These aren't extracted from the headers above because:
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater * - We cannot #define _STRPTIME_DONTZERO
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater * - We cannot #define _XPG5
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterchar *__strptime_dontzero(const char *, const char *, struct tm *);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updaterwchar_t *__wcstok_xpg5(wchar_t *_RESTRICT_KYWD,
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater const wchar_t *_RESTRICT_KYWD, wchar_t **_RESTRICT_KYWD);
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updatersize_t __wcsftime_xpg5(wchar_t *_RESTRICT_KYWD, size_t,
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater const wchar_t *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD);
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updaterwchar_t *__fgetws_xpg5(wchar_t *_RESTRICT_KYWD, int, __FILE *_RESTRICT_KYWD);
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox Userint __fputws_xpg5(const wchar_t *_RESTRICT_KYWD, __FILE *_RESTRICT_KYWD);
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater/* _loc_data.c */
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater/* _locale.c */
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater/* _set_tab.c */
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updaterint _xftw(int ver, const char *path, int (*fn)(), int depth);
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updaterlong a64l(const char *);
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updatervoid _assert(const char *assertion, const char *filename, int line_num);
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updaterdouble atof(const char *p);
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updaterint atoi(const char *p);
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updaterlong atol(const char *p);
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater/* basename.c */
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updaterint bcmp(const void *s1, const void *s2, size_t len);
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updatervoid bcopy(const void *s1, void *s2, size_t len);
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updater/* bsearch.c */
590c12cfe3b9a179ab2faa1be791a069c81882e0Automatic Updatervoid *bsearch(const void *ky, const void *bs, size_t nel,
int isalpha(int c);
int isupper(int c);
int islower(int c);
int isdigit(int c);
int isxdigit(int c);
int isalnum(int c);
int isspace(int c);
int ispunct(int c);
int isprint(int c);
int isgraph(int c);
int iscntrl(int c);
int isascii(int c);
int _toupper(int c);
int _tolower(int c);
int toascii(int c);
char *dirname(char *s);
double drand48(void);
long lrand48(void);
long mrand48(void);
int *_RESTRICT_KYWDsign);
int execlp(const char *, const char *, ...);
int getdate_err;
int getdtablesize(void);
const char *getexecname(void);
long gethostid(void);
int gethz(void);
char *getlogin(void);
char *getlogin_r(char *, int);
int endnetgrent(void);
int getpagesize(void);
void setspent(void);
void endspent(void);
int str2spwd(const char *, int, void *, char *, int);
char *getusershell(void);
void endusershell(void);
void setusershell(void);
void setutent(void);
void endutent(void);
void setutxent(void);
void endutxent(void);
void hdestroy(void);
const char *domain);
int isaexec(const char *, char *const *, char *const *);
int isatty(int f);
int lckpwdf(void);
int ulckpwdf(void);
size_t n);
size_t n);
size_t n);
int munlockall(void);
void perror(const char *s);
int rand(void);
long random(void);
int sig2str(int i, char *s);
char **_RESTRICT_KYWD);
int base);
size_t n);
void closelog(void);
long tell(int f);
void tzset(void);
int tolower(int c);
int toupper(int c);
char *ttyname(int f);
char *ttyname_r(int, char *, int);
int ttyslot(void);
size_t n);
void _xgetwidth(void);
va_list);
va_list);
char *__loc1;
int __i_size;
char *ctermid(char *s);
char *ctermid_r(char *s);
char *cuserid(char *s);
void _cleanup(void);
int getchar(void);
int system(const char *s);
char *tmpnam(char *s);
char *tmpnam_r(char *);
int flags);
int flags);
int shmdt(const void *);
int shmdt(char *);
size_t n);
size_t n);
size_t n);
int base);
void *user);
enum fp_class_type {
enum fp_direction_type {
int sign;
int exponent;
int more;
int ndigits;
enum decimal_form {
int ndigits;
} decimal_mode;
enum decimal_string_form {
enum decimal_string_form *, char **);
enum decimal_string_form *, char **,
enum decimal_string_form *, char **,
FILE *, int *);
int errno;
int *___errno()
{ return (&errno); }
int __accessat(int, const char *, int);