home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / uccs / root.14 / udk / usr / ccs / lib / llib-lc < prev    next >
Encoding:
Text File  |  1998-08-19  |  3.1 KB  |  149 lines

  1. #ident    "@(#)alint:lib/llib-lc    1.22"
  2. /* LINTLIBRARY */
  3. /* PROTOLIB1 */
  4.  
  5. #define _REENTRANT    /* to get function decls in stdio.h, ... */
  6. #define _EFTSAFE    /* to bypass static functions in headers */
  7. #include <assert.h>
  8. #include <ctype.h>
  9. #include <locale.h>
  10. #include <setjmp.h>
  11. #include <signal.h>
  12. #include <stdarg.h>
  13. #include <stdio.h>
  14. #include <stdlib.h>
  15. #include <string.h>
  16. #include <time.h>
  17. #include <float.h>
  18. #include <dirent.h>
  19.  
  20. #include <sys/types.h>
  21. #include <fcntl.h>
  22. #include <stropts.h>
  23. #include <termio.h>
  24. #include <ieeefp.h>
  25. #include <sys/stat.h>
  26. #include <ftw.h>
  27. #include <search.h>
  28. #include <grp.h>
  29. #include <memory.h>
  30. #include <mon.h>
  31. #include <nlist.h>
  32. #include <pwd.h>
  33. #include <wait.h>
  34. #include <siginfo.h>
  35. #include <signal.h>
  36. #include <sys/utsname.h>
  37. #include <ustat.h>
  38.  
  39. #if i386
  40. #include <sys/user.h>    /* for fp_t in ucontext.h */
  41. #endif
  42.  
  43. #include <ucontext.h>
  44. #include <unistd.h>
  45. #include <sys/mount.h>
  46. #include <sys/lock.h>
  47. #include <sys/poll.h>
  48. #include <sys/ipc.h>
  49. #include <sys/msg.h>
  50. #include <sys/sem.h>
  51. #include <sys/shm.h>
  52. #include <sys/statfs.h>
  53. #if i386
  54. #include <sys/sysi86.h>
  55. #else
  56. #include <sys/sys3b.h>
  57. #endif
  58. #include <sys/fstyp.h>
  59. #include <sys/times.h>
  60. #include <sys/param.h>
  61. #include <sys/proc.h>
  62. #include <crypt.h>
  63.  
  64. /* 
  65. ** The below should eventually be in header files - when/if they 
  66. ** are, there is a possibility that lint will not build this
  67. ** library correctly - when this happens, remove the object
  68. ** from this file.
  69. */
  70.  
  71. /* END (3C) */
  72. extern int end;
  73. extern int etext;
  74. extern int edata;
  75.  
  76. /* PERROR(3C) */
  77. extern char *sys_errlist[];
  78. extern int sys_nerr;
  79.  
  80. #include <nl_types.h>
  81. #include <langinfo.h>
  82.  
  83. /* sys/time.h: definition of structs timezone, timeval */
  84. #include <sys/time.h>
  85.  
  86. /* sys/resource.h: definition of struct rlimit */
  87. #include <sys/resource.h>
  88.  
  89. /* sys/uio.h: defintion ofstruct iovec */
  90. #include <sys/uio.h>
  91.  
  92. #include <acl.h>
  93. #include <errno.h>
  94. #include <dlfcn.h>
  95. #include <glob.h>
  96. #include <lwpsynch.h>
  97. #include <monetary.h>
  98. #include <priv.h>
  99. #include <regex.h>
  100. #include <termios.h>
  101. #include <ulimit.h>
  102. #include <utime.h>
  103. #include <pfmt.h>
  104. #include <widec.h>
  105. #include <wctype.h>
  106. #include <fnmatch.h>
  107. #include <wchar.h>
  108. #include <iconv.h>
  109. #include <wordexp.h>
  110. #include <mac.h>
  111.  
  112. #include <sys/audit.h>
  113. #include <sys/ksym.h>
  114. #include <sys/lwp.h>
  115. #include <sys/mman.h>
  116. #include <sys/mod.h>
  117. #include <sys/priocntl.h>
  118. #include <sys/processor.h>
  119. #include <sys/ptms.h>
  120. #include <sys/tiuser.h>
  121. #include <sys/swap.h>
  122. #include <sys/secsys.h>
  123. #include <sys/statvfs.h>
  124. #include <sys/systeminfo.h>
  125. #include <sys/uadmin.h>
  126. #include <sys/mkdev.h>
  127. #include <sys/select.h>
  128.  
  129. #include <sys/euc.h>    /* for eucwidth_t */
  130. /* getwidth is declared here rather than including getwidth.h
  131.    because of ordering problems in the build - getwidth.h is
  132.    installed from libw, which hasn't been built yet when lint is built.
  133. */
  134. extern void getwidth(eucwidth_t *);
  135.  
  136. /* avoid clashes with definitions of the same macros in pfmt.h */
  137. #undef MM_HARD
  138. #undef MM_SOFT
  139. #undef MM_FIRM
  140. #undef MM_APPL
  141. #undef MM_UTIL
  142. #undef MM_OPSYS
  143. #undef MM_CONSOLE
  144. #undef MM_ERROR
  145. #undef MM_WARNING
  146. #undef MM_INFO
  147. #undef MM_NULLMC
  148. #include <fmtmsg.h>
  149.