home *** CD-ROM | disk | FTP | other *** search
- #ident "@(#)alint:lib/llib-lc 1.22"
- /* LINTLIBRARY */
- /* PROTOLIB1 */
-
- #define _REENTRANT /* to get function decls in stdio.h, ... */
- #define _EFTSAFE /* to bypass static functions in headers */
- #include <assert.h>
- #include <ctype.h>
- #include <locale.h>
- #include <setjmp.h>
- #include <signal.h>
- #include <stdarg.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <time.h>
- #include <float.h>
- #include <dirent.h>
-
- #include <sys/types.h>
- #include <fcntl.h>
- #include <stropts.h>
- #include <termio.h>
- #include <ieeefp.h>
- #include <sys/stat.h>
- #include <ftw.h>
- #include <search.h>
- #include <grp.h>
- #include <memory.h>
- #include <mon.h>
- #include <nlist.h>
- #include <pwd.h>
- #include <wait.h>
- #include <siginfo.h>
- #include <signal.h>
- #include <sys/utsname.h>
- #include <ustat.h>
-
- #if i386
- #include <sys/user.h> /* for fp_t in ucontext.h */
- #endif
-
- #include <ucontext.h>
- #include <unistd.h>
- #include <sys/mount.h>
- #include <sys/lock.h>
- #include <sys/poll.h>
- #include <sys/ipc.h>
- #include <sys/msg.h>
- #include <sys/sem.h>
- #include <sys/shm.h>
- #include <sys/statfs.h>
- #if i386
- #include <sys/sysi86.h>
- #else
- #include <sys/sys3b.h>
- #endif
- #include <sys/fstyp.h>
- #include <sys/times.h>
- #include <sys/param.h>
- #include <sys/proc.h>
- #include <crypt.h>
-
- /*
- ** The below should eventually be in header files - when/if they
- ** are, there is a possibility that lint will not build this
- ** library correctly - when this happens, remove the object
- ** from this file.
- */
-
- /* END (3C) */
- extern int end;
- extern int etext;
- extern int edata;
-
- /* PERROR(3C) */
- extern char *sys_errlist[];
- extern int sys_nerr;
-
- #include <nl_types.h>
- #include <langinfo.h>
-
- /* sys/time.h: definition of structs timezone, timeval */
- #include <sys/time.h>
-
- /* sys/resource.h: definition of struct rlimit */
- #include <sys/resource.h>
-
- /* sys/uio.h: defintion ofstruct iovec */
- #include <sys/uio.h>
-
- #include <acl.h>
- #include <errno.h>
- #include <dlfcn.h>
- #include <glob.h>
- #include <lwpsynch.h>
- #include <monetary.h>
- #include <priv.h>
- #include <regex.h>
- #include <termios.h>
- #include <ulimit.h>
- #include <utime.h>
- #include <pfmt.h>
- #include <widec.h>
- #include <wctype.h>
- #include <fnmatch.h>
- #include <wchar.h>
- #include <iconv.h>
- #include <wordexp.h>
- #include <mac.h>
-
- #include <sys/audit.h>
- #include <sys/ksym.h>
- #include <sys/lwp.h>
- #include <sys/mman.h>
- #include <sys/mod.h>
- #include <sys/priocntl.h>
- #include <sys/processor.h>
- #include <sys/ptms.h>
- #include <sys/tiuser.h>
- #include <sys/swap.h>
- #include <sys/secsys.h>
- #include <sys/statvfs.h>
- #include <sys/systeminfo.h>
- #include <sys/uadmin.h>
- #include <sys/mkdev.h>
- #include <sys/select.h>
-
- #include <sys/euc.h> /* for eucwidth_t */
- /* getwidth is declared here rather than including getwidth.h
- because of ordering problems in the build - getwidth.h is
- installed from libw, which hasn't been built yet when lint is built.
- */
- extern void getwidth(eucwidth_t *);
-
- /* avoid clashes with definitions of the same macros in pfmt.h */
- #undef MM_HARD
- #undef MM_SOFT
- #undef MM_FIRM
- #undef MM_APPL
- #undef MM_UTIL
- #undef MM_OPSYS
- #undef MM_CONSOLE
- #undef MM_ERROR
- #undef MM_WARNING
- #undef MM_INFO
- #undef MM_NULLMC
- #include <fmtmsg.h>
-