Browse Source

Merge upstream stdint.h as a whole.

git-svn-id: file:///var/svn/tigccpp/trunk@1297 9552661e-59e3-4036-b4f2-dbe53926924f
debrouxl 15 years ago
parent
commit
9ee4059287
83 changed files with 259 additions and 250 deletions
  1. 3 3
      tigcc/doc/System/Include/stdint.h/INT16_C.hsf
  2. 2 2
      tigcc/doc/System/Include/stdint.h/INT16_MAX.hsf
  3. 2 2
      tigcc/doc/System/Include/stdint.h/INT16_MIN.hsf
  4. 3 3
      tigcc/doc/System/Include/stdint.h/INT32_C.hsf
  5. 2 2
      tigcc/doc/System/Include/stdint.h/INT32_MAX.hsf
  6. 2 2
      tigcc/doc/System/Include/stdint.h/INT32_MIN.hsf
  7. 3 3
      tigcc/doc/System/Include/stdint.h/INT64_C.hsf
  8. 2 2
      tigcc/doc/System/Include/stdint.h/INT64_MAX.hsf
  9. 2 2
      tigcc/doc/System/Include/stdint.h/INT64_MIN.hsf
  10. 3 3
      tigcc/doc/System/Include/stdint.h/INT8_C.hsf
  11. 2 2
      tigcc/doc/System/Include/stdint.h/INT8_MAX.hsf
  12. 2 2
      tigcc/doc/System/Include/stdint.h/INT8_MIN.hsf
  13. 4 3
      tigcc/doc/System/Include/stdint.h/INTMAX_C.hsf
  14. 2 2
      tigcc/doc/System/Include/stdint.h/INTMAX_MAX.hsf
  15. 3 3
      tigcc/doc/System/Include/stdint.h/INTMAX_MIN.hsf
  16. 2 2
      tigcc/doc/System/Include/stdint.h/INTPTR_MAX.hsf
  17. 3 3
      tigcc/doc/System/Include/stdint.h/INTPTR_MIN.hsf
  18. 2 2
      tigcc/doc/System/Include/stdint.h/INT_FAST16_MAX.hsf
  19. 3 3
      tigcc/doc/System/Include/stdint.h/INT_FAST16_MIN.hsf
  20. 2 2
      tigcc/doc/System/Include/stdint.h/INT_FAST32_MAX.hsf
  21. 3 3
      tigcc/doc/System/Include/stdint.h/INT_FAST32_MIN.hsf
  22. 2 2
      tigcc/doc/System/Include/stdint.h/INT_FAST64_MAX.hsf
  23. 3 3
      tigcc/doc/System/Include/stdint.h/INT_FAST64_MIN.hsf
  24. 2 2
      tigcc/doc/System/Include/stdint.h/INT_FAST8_MAX.hsf
  25. 3 3
      tigcc/doc/System/Include/stdint.h/INT_FAST8_MIN.hsf
  26. 2 2
      tigcc/doc/System/Include/stdint.h/INT_LEAST16_MAX.hsf
  27. 3 3
      tigcc/doc/System/Include/stdint.h/INT_LEAST16_MIN.hsf
  28. 2 2
      tigcc/doc/System/Include/stdint.h/INT_LEAST32_MAX.hsf
  29. 3 3
      tigcc/doc/System/Include/stdint.h/INT_LEAST32_MIN.hsf
  30. 2 2
      tigcc/doc/System/Include/stdint.h/INT_LEAST64_MAX.hsf
  31. 3 3
      tigcc/doc/System/Include/stdint.h/INT_LEAST64_MIN.hsf
  32. 2 2
      tigcc/doc/System/Include/stdint.h/INT_LEAST8_MAX.hsf
  33. 3 3
      tigcc/doc/System/Include/stdint.h/INT_LEAST8_MIN.hsf
  34. 3 3
      tigcc/doc/System/Include/stdint.h/UINT16_C.hsf
  35. 3 3
      tigcc/doc/System/Include/stdint.h/UINT16_MAX.hsf
  36. 3 3
      tigcc/doc/System/Include/stdint.h/UINT32_C.hsf
  37. 2 2
      tigcc/doc/System/Include/stdint.h/UINT32_MAX.hsf
  38. 3 3
      tigcc/doc/System/Include/stdint.h/UINT64_C.hsf
  39. 2 2
      tigcc/doc/System/Include/stdint.h/UINT64_MAX.hsf
  40. 4 4
      tigcc/doc/System/Include/stdint.h/UINT8_C.hsf
  41. 2 2
      tigcc/doc/System/Include/stdint.h/UINT8_MAX.hsf
  42. 4 3
      tigcc/doc/System/Include/stdint.h/UINTMAX_C.hsf
  43. 2 2
      tigcc/doc/System/Include/stdint.h/UINTMAX_MAX.hsf
  44. 2 2
      tigcc/doc/System/Include/stdint.h/UINTPTR_MAX.hsf
  45. 3 3
      tigcc/doc/System/Include/stdint.h/UINT_FAST16_MAX.hsf
  46. 2 2
      tigcc/doc/System/Include/stdint.h/UINT_FAST32_MAX.hsf
  47. 2 2
      tigcc/doc/System/Include/stdint.h/UINT_FAST64_MAX.hsf
  48. 3 3
      tigcc/doc/System/Include/stdint.h/UINT_FAST8_MAX.hsf
  49. 3 3
      tigcc/doc/System/Include/stdint.h/UINT_LEAST16_MAX.hsf
  50. 3 3
      tigcc/doc/System/Include/stdint.h/UINT_LEAST32_MAX.hsf
  51. 2 2
      tigcc/doc/System/Include/stdint.h/UINT_LEAST64_MAX.hsf
  52. 2 2
      tigcc/doc/System/Include/stdint.h/UINT_LEAST8_MAX.hsf
  53. 3 3
      tigcc/doc/System/Include/stdint.h/int16_t.hsf
  54. 3 3
      tigcc/doc/System/Include/stdint.h/int32_t.hsf
  55. 3 3
      tigcc/doc/System/Include/stdint.h/int64_t.hsf
  56. 2 2
      tigcc/doc/System/Include/stdint.h/int8_t.hsf
  57. 4 3
      tigcc/doc/System/Include/stdint.h/int_fast16_t.hsf
  58. 4 3
      tigcc/doc/System/Include/stdint.h/int_fast32_t.hsf
  59. 4 3
      tigcc/doc/System/Include/stdint.h/int_fast64_t.hsf
  60. 4 3
      tigcc/doc/System/Include/stdint.h/int_fast8_t.hsf
  61. 2 2
      tigcc/doc/System/Include/stdint.h/int_least16_t.hsf
  62. 3 3
      tigcc/doc/System/Include/stdint.h/int_least32_t.hsf
  63. 2 2
      tigcc/doc/System/Include/stdint.h/int_least64_t.hsf
  64. 2 2
      tigcc/doc/System/Include/stdint.h/int_least8_t.hsf
  65. 4 3
      tigcc/doc/System/Include/stdint.h/intmax_t.hsf
  66. 3 3
      tigcc/doc/System/Include/stdint.h/intptr_t.hsf
  67. 1 4
      tigcc/doc/System/Include/stdint.h/stdint.hsh
  68. 3 3
      tigcc/doc/System/Include/stdint.h/uint16_t.hsf
  69. 3 3
      tigcc/doc/System/Include/stdint.h/uint32_t.hsf
  70. 3 3
      tigcc/doc/System/Include/stdint.h/uint64_t.hsf
  71. 2 2
      tigcc/doc/System/Include/stdint.h/uint8_t.hsf
  72. 4 3
      tigcc/doc/System/Include/stdint.h/uint_fast16_t.hsf
  73. 4 3
      tigcc/doc/System/Include/stdint.h/uint_fast32_t.hsf
  74. 4 3
      tigcc/doc/System/Include/stdint.h/uint_fast64_t.hsf
  75. 4 3
      tigcc/doc/System/Include/stdint.h/uint_fast8_t.hsf
  76. 3 3
      tigcc/doc/System/Include/stdint.h/uint_least16_t.hsf
  77. 3 3
      tigcc/doc/System/Include/stdint.h/uint_least32_t.hsf
  78. 3 3
      tigcc/doc/System/Include/stdint.h/uint_least64_t.hsf
  79. 2 2
      tigcc/doc/System/Include/stdint.h/uint_least8_t.hsf
  80. 4 3
      tigcc/doc/System/Include/stdint.h/uintmax_t.hsf
  81. 3 3
      tigcc/doc/System/Include/stdint.h/uintptr_t.hsf
  82. BIN
      tigcc/include/C/Completion/stdint.ccf
  83. 38 38
      tigcc/include/C/stdint.h

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT16_C.hsf

@@ -1,12 +1,12 @@
 [Main]
 Name=INT16_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define INT16_C(c) c
 
 [Description]
-Integer constant expression having the value specified by its argument and the type int_least16_t.
+Appends the correct suffix to a 16-bit signed integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for a 16-bit signed integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT16_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT16_MAX (32767)
 
 [Description]
-Maximal value which can be stored in a int16_t variable.
+Maximum value of a signed 16-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a signed 16-bit integer can contain.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT16_MIN.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT16_MIN (-32767-1)
 
 [Description]
-Minimal value which can be stored in a int16_t variable.
+Minimum value of a signed 16-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that a signed 16-bit integer can contain.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT32_C.hsf

@@ -1,12 +1,12 @@
 [Main]
 Name=INT32_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define INT32_C(c) c ## L
 
 [Description]
-Integer constant expression having the value specified by its argument and the type int_least32_t.
+Appends the correct suffix to a 32-bit signed integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for a 32-bit signed integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT32_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT32_MAX (2147483647L)
 
 [Description]
-Maximal value which can be stored in a int32_t variable.
+Maximum value of a signed 32-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a signed 32-bit integer can contain.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT32_MIN.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT32_MIN (-2147483647L-1)
 
 [Description]
-Minimal value which can be stored in a int32_t variable.
+Minimum value of a signed 32-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that a signed 32-bit integer can contain.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT64_C.hsf

@@ -1,12 +1,12 @@
 [Main]
 Name=INT64_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define INT64_C(c) c ## LL
 
 [Description]
-Integer constant expression having the value specified by its argument and the type int_least64_t.
+Appends the correct suffix to a 64-bit signed integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for a 64-bit signed integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT64_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT64_MAX (9223372036854775807LL)
 
 [Description]
-Maximal value which can be stored in a int64_t variable.
+Maximum value of a signed 64-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a signed 64-bit integer can contain.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT64_MIN.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT64_MIN (-9223372036854775807LL-1)
 
 [Description]
-Minimal value which can be stored in a int64_t variable.
+Minimum value of a signed 64-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that a signed 64-bit integer can contain.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT8_C.hsf

@@ -1,12 +1,12 @@
 [Main]
 Name=INT8_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define INT8_C(c) c
 
 [Description]
-Integer constant expression having the value specified by its argument and the type int_least8_t.
+Appends the correct suffix to an 8-bit signed integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for an 8-bit signed integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT8_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT8_MAX (127)
 
 [Description]
-Maximal value which can be stored in a int8_t variable.
+Maximum value of a signed 8-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a signed 8-bit integer can contain.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT8_MIN.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT8_MIN (-128)
 
 [Description]
-Minimal value which can be stored in a int8_t variable.
+Minimum value of a signed 8-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that a signed 8-bit integer can contain.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/INTMAX_C.hsf

@@ -1,12 +1,13 @@
 [Main]
 Name=INTMAX_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define INTMAX_C(c) c ## LL
 
 [Description]
-Integer constant expression having the value specified by its argument and the type intmax_t.
+Appends the correct suffix to a maximally-sized signed integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for a maximally-sized (on the TIGCC
+platform) signed integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INTMAX_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INTMAX_MAX (9223372036854775807LL)
 
 [Description]
-Maximal value which can be stored in a intmax_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/intmax_t)">intmax_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that the largest signed integer can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INTMAX_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INTMAX_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INTMAX_MIN (-9223372036854775807LL)
+Definition=#define INTMAX_MIN (-9223372036854775807LL-1)
 
 [Description]
-Maximal value which can be stored in a intmax_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/intmax_t)">intmax_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that the largest signed integer can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INTPTR_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INTPTR_MAX (2147483647L)
 
 [Description]
-Maximal value which can be stored in a intptr_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/intptr_t)">intptr_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a signed integer large enough to hold a pointer can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INTPTR_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INTPTR_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INTPTR_MIN (-2147483647L)
+Definition=#define INTPTR_MIN (-2147483647L-1)
 
 [Description]
-Minimal value which can be stored in a intptr_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/intptr_t)">intptr_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that a signed integer large enough to hold a pointer can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT_FAST16_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT_FAST16_MAX (32767)
 
 [Description]
-Maximal value which can be stored in a int_fast16_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/int_fast16_t)">int_fast16_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/int_fast16_t)">int_fast16_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT_FAST16_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INT_FAST16_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INT_FAST16_MIN (-32767)
+Definition=#define INT_FAST16_MIN (-32767-1)
 
 [Description]
-Minimal value which can be stored in a int_fast16_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/int_fast16_t)">int_fast16_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that an <A HREF="$$LINK(stdint.h/int_fast16_t)">int_fast16_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT_FAST32_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT_FAST32_MAX (2147483647L)
 
 [Description]
-Maximal value which can be stored in a int_fast32_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/int_fast32_t)">int_fast32_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/int_fast32_t)">int_fast32_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT_FAST32_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INT_FAST32_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INT_FAST32_MIN (-2147483647L)
+Definition=#define INT_FAST32_MIN (-2147483647L-1)
 
 [Description]
-Minimal value which can be stored in a int_fast32_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/int_fast32_t)">int_fast32_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that an <A HREF="$$LINK(stdint.h/int_fast32_t)">int_fast32_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT_FAST64_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT_FAST64_MAX (9223372036854775807LL)
 
 [Description]
-Maximal value which can be stored in a int_fast64_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/int_fast64_t)">int_fast64_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/int_fast64_t)">int_fast64_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT_FAST64_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INT_FAST64_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INT_FAST64_MIN (-9223372036854775807LL)
+Definition=#define INT_FAST64_MIN (-9223372036854775807LL-1)
 
 [Description]
-Minimal value which can be stored in a int_fast64_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/int_fast64_t)">int_fast64_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that an <A HREF="$$LINK(stdint.h/int_fast64_t)">int_fast64_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT_FAST8_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT_FAST8_MAX (32767)
 
 [Description]
-Maximal value which can be stored in a int_fast8_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/int_fast8_t)">int_fast8_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/int_fast8_t)">int_fast8_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT_FAST8_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INT_FAST8_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INT_FAST8_MIN (-127)
+Definition=#define INT_FAST8_MIN (-32767-1)
 
 [Description]
-Minimal value which can be stored in a int_fast8_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/int_fast8_t)">int_fast8_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that an <A HREF="$$LINK(stdint.h/int_fast8_t)">int_fast8_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT_LEAST16_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT_LEAST16_MAX (32767)
 
 [Description]
-Maximal value which can be stored in a int_least16_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/int_least16_t)">int_least16_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/int_least16_t)">int_least16_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT_LEAST16_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INT_LEAST16_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INT_LEAST16_MIN (-32767)
+Definition=#define INT_LEAST16_MIN (-32767-1)
 
 [Description]
-Minimal value which can be stored in a int_least16_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/int_least16_t)">int_least16_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that an <A HREF="$$LINK(stdint.h/int_least16_t)">int_least16_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT_LEAST32_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT_LEAST32_MAX (2147483647L)
 
 [Description]
-Maximal value which can be stored in a int_least32_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/int_least32_t)">int_least32_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/int_least32_t)">int_least32_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT_LEAST32_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INT_LEAST32_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INT_LEAST32_MIN (-2147483647L)
+Definition=#define INT_LEAST32_MIN (-2147483647L-1)
 
 [Description]
-Minimal value which can be stored in a int_least32_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/int_least32_t)">int_least32_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that an <A HREF="$$LINK(stdint.h/int_least32_t)">int_least32_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT_LEAST64_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT_LEAST64_MAX (9223372036854775807LL)
 
 [Description]
-Maximal value which can be stored in a int_least64_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/int_least64_t)">int_least64_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/int_least64_t)">int_least64_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT_LEAST64_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INT_LEAST64_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INT_LEAST64_MIN (-9223372036854775807LL)
+Definition=#define INT_LEAST64_MIN (-9223372036854775807LL-1)
 
 [Description]
-Minimal value which can be stored in a int_least64_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/int_least64_t)">int_least64_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that an <A HREF="$$LINK(stdint.h/int_least64_t)">int_least64_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/INT_LEAST8_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define INT_LEAST8_MAX (127)
 
 [Description]
-Maximal value which can be stored in a int_least8_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/int_least8_t)">int_least8_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/int_least8_t)">int_least8_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/INT_LEAST8_MIN.hsf

@@ -2,10 +2,10 @@
 Name=INT_LEAST8_MIN
 Type=Constant
 Header Files=stdint.h
-Definition=#define INT_LEAST8_MIN (-127)
+Definition=#define INT_LEAST8_MIN (-128)
 
 [Description]
-Minimal value which can be stored in a int_least8_t variable.
+Minimum value of our <A HREF="$$LINK(stdint.h/int_least8_t)">int_least8_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the minimum value that an <A HREF="$$LINK(stdint.h/int_least8_t)">int_least8_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/UINT16_C.hsf

@@ -1,12 +1,12 @@
 [Main]
 Name=UINT16_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define UINT16_C(c) c ## U
 
 [Description]
-Integer constant expression having the value specified by its argument and the type uint_least16_t.
+Appends the correct suffix to a 16-bit unsigned integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for a 16-bit unsigned integer literal to <I>c</I>.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/UINT16_MAX.hsf

@@ -2,10 +2,10 @@
 Name=UINT16_MAX
 Type=Constant
 Header Files=stdint.h
-Definition=#define UINT16_MAX (65535)
+Definition=#define UINT16_MAX (65535U)
 
 [Description]
-Maximal value which can be stored in a uint16_t variable.
+Maximum value of an unsigned 16-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an unsigned 16-bit integer can contain.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/UINT32_C.hsf

@@ -1,12 +1,12 @@
 [Main]
 Name=UINT32_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define UINT32_C(c) c ## UL
 
 [Description]
-Integer constant expression having the value specified by its argument and the type uint_least32_t.
+Appends the correct suffix to a 32-bit unsigned integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for a 32-bit unsigned integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINT32_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINT32_MAX (4294967295UL)
 
 [Description]
-Maximal value which can be stored in a uint32_t variable.
+Maximum value of an unsigned 32-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an unsigned 32-bit integer can contain.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/UINT64_C.hsf

@@ -1,12 +1,12 @@
 [Main]
 Name=UINT64_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define UINT64_C(c) c ## ULL
 
 [Description]
-Integer constant expression having the value specified by its argument and the type uint_least64_t.
+Appends the correct suffix to a 64-bit unsigned integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for a 64-bit unsigned integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINT64_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINT64_MAX (18446744073709551615ULL)
 
 [Description]
-Maximal value which can be stored in a uint64_t variable.
+Maximum value of an unsigned 64-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an unsigned 64-bit integer can contain.

+ 4 - 4
tigcc/doc/System/Include/stdint.h/UINT8_C.hsf

@@ -1,12 +1,12 @@
 [Main]
 Name=UINT8_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
-Definition=#define UINT8_C(c) c ## U
+Definition=#define UINT8_C(c) c
 
 [Description]
-Integer constant expression having the value specified by its argument and the type uint_least8_t.
+Appends the correct suffix to an 8-bit unsigned integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for an 8-bit unsigned integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINT8_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINT8_MAX (255)
 
 [Description]
-Maximal value which can be stored in a uint8_t variable.
+Maximum value of an unsigned 8-bit integer.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an unsigned 8-bit integer can contain.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/UINTMAX_C.hsf

@@ -1,12 +1,13 @@
 [Main]
 Name=UINTMAX_C
 Type=Function
-Subtype=Macro
+Subtype=Macro constructor
 Header Files=stdint.h
 Definition=#define UINTMAX_C(c) c ## ULL
 
 [Description]
-Integer constant expression having the value specified by its argument and the type uintmax_t.
+Appends the correct suffix to a maximally-sized unsigned integer literal.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This macro appends the correct suffix for a maximally-sized (on the TIGCC
+platform) unsigned integer literal to <I>c</I>.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINTMAX_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINTMAX_MAX (18446744073709551615ULL)
 
 [Description]
-Maximal value which can be stored in a uintmax_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uintmax_t)">uintmax_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that the largest unsigned integer can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINTPTR_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINTPTR_MAX (4294967295UL)
 
 [Description]
-Maximal value which can be stored in a uintptr_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uintptr_t)">uintptr_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an unsigned integer large enough to hold a pointer can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/UINT_FAST16_MAX.hsf

@@ -2,10 +2,10 @@
 Name=UINT_FAST16_MAX
 Type=Constant
 Header Files=stdint.h
-Definition=#define UINT_FAST16_MAX (65535)
+Definition=#define UINT_FAST16_MAX (65535U)
 
 [Description]
-Maximal value which can be stored in a uint_fast16_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uint_fast16_t)">uint_fast16_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/uint_fast16_t)">uint_fast16_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINT_FAST32_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINT_FAST32_MAX (4294967295UL)
 
 [Description]
-Maximal value which can be stored in a uint_fast32_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uint_fast32_t)">uint_fast32_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/uint_fast32_t)">uint_fast32_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINT_FAST64_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINT_FAST64_MAX (18446744073709551615ULL)
 
 [Description]
-Maximal value which can be stored in a uint_fast64_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uint_fast64_t)">uint_fast64_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/uint_fast64_t)">uint_fast64_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/UINT_FAST8_MAX.hsf

@@ -2,10 +2,10 @@
 Name=UINT_FAST8_MAX
 Type=Constant
 Header Files=stdint.h
-Definition=#define UINT_FAST8_MAX (65535)
+Definition=#define UINT_FAST8_MAX (65535U)
 
 [Description]
-Maximal value which can be stored in a uint_fast8_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uint_fast8_t)">uint_fast8_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that an <A HREF="$$LINK(stdint.h/uint_fast8_t)">uint_fast8_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/UINT_LEAST16_MAX.hsf

@@ -2,10 +2,10 @@
 Name=UINT_LEAST16_MAX
 Type=Constant
 Header Files=stdint.h
-Definition=#define UINT_LEAST16_MAX (65535)
+Definition=#define UINT_LEAST16_MAX (65535U)
 
 [Description]
-Maximal value which can be stored in a uint_least16_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uint_least16_t)">uint_least16_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a <A HREF="$$LINK(stdint.h/uint_least16_t)">uint_least16_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/UINT_LEAST32_MAX.hsf

@@ -2,10 +2,10 @@
 Name=UINT_LEAST32_MAX
 Type=Constant
 Header Files=stdint.h
-Definition=#define UINT_LEAST32_MAX (4294967295U)
+Definition=#define UINT_LEAST32_MAX (4294967295UL)
 
 [Description]
-Maximal value which can be stored in a uint_least32_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uint_least32_t)">uint_least32_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a <A HREF="$$LINK(stdint.h/uint_least32_t)">uint_least32_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINT_LEAST64_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINT_LEAST64_MAX (18446744073709551615ULL)
 
 [Description]
-Maximal value which can be stored in a uint_least64_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uint_least64_t)">uint_least64_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a <A HREF="$$LINK(stdint.h/uint_least64_t)">uint_least64_t</A> can contain on the TIGCC platform.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/UINT_LEAST8_MAX.hsf

@@ -5,7 +5,7 @@ Header Files=stdint.h
 Definition=#define UINT_LEAST8_MAX (255)
 
 [Description]
-Maximal value which can be stored in a uint_least8_t variable.
+Maximum value of our <A HREF="$$LINK(stdint.h/uint_least8_t)">uint_least8_t</A> type.
 
 [Explanation]
-Definition mandated by the C99 standard.
+This is the maximum value that a <A HREF="$$LINK(stdint.h/uint_least8_t)">uint_least8_t</A> can contain on the TIGCC platform.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/int16_t.hsf

@@ -3,10 +3,10 @@ Name=int16_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef short int int16_t;
+Definition=typedef short int16_t;
 
 [Description]
-An alias type for a signed integer type that contains exactly 16 bits.
+A 16-bit signed fixed-width type specified by C99.
 
 [Explanation]
-
+This type can be used when exactly 16 bits of signed data storage are wanted.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/int32_t.hsf

@@ -3,10 +3,10 @@ Name=int32_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef long int int32_t;
+Definition=typedef long int32_t;
 
 [Description]
-An alias type for a signed integer type that contains exactly 32 bits.
+A 32-bit signed fixed-width type specified by C99.
 
 [Explanation]
-
+This type can be used when exactly 32 bits of signed data storage are wanted.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/int64_t.hsf

@@ -3,10 +3,10 @@ Name=int64_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef long long int int64_t;
+Definition=typedef long long int64_t;
 
 [Description]
-An alias type for a signed integer type that contains exactly 64 bits.
+A 64-bit signed fixed-width type specified by C99.
 
 [Explanation]
-
+This type can be used when exactly 64 bits of signed data storage are wanted.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/int8_t.hsf

@@ -6,7 +6,7 @@ Header Files=stdint.h
 Definition=typedef signed char int8_t;
 
 [Description]
-An alias type for a signed integer type that contains exactly 8 bits.
+An 8-bit signed fixed-width type specified by C99.
 
 [Explanation]
-
+This type can be used when exactly 8 bits of signed data storage are wanted.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/int_fast16_t.hsf

@@ -3,10 +3,11 @@ Name=int_fast16_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef short int int_fast16_t;
+Definition=typedef short int_fast16_t;
 
 [Description]
-An alias type for a signed integer type that contains at least 16 bits, the one that the processor handles most efficiently.
+The fastest signed type with at least 16 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 16 bits of signed data storage are wanted, and speed is more of a concern than size.
+In TIGCC, its size is exactly 16 bits.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/int_fast32_t.hsf

@@ -3,10 +3,11 @@ Name=int_fast32_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef long int int_fast32_t;
+Definition=typedef long int_fast32_t;
 
 [Description]
-An alias type for a signed integer type that contains at least 32 bits, the one that the processor handles most efficiently.
+The fastest signed type with at least 32 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 32 bits of signed data storage are wanted, and speed is more of a concern than size.
+In TIGCC, its size is exactly 32 bits.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/int_fast64_t.hsf

@@ -3,10 +3,11 @@ Name=int_fast64_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef long long int int_fast64_t;
+Definition=typedef long long int_fast64_t;
 
 [Description]
-An alias type for a signed integer type that contains at least 64 bits, the one that the processor handles most efficiently.
+The fastest signed type with at least 64 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 64 bits of signed data storage are wanted, and speed is more of a concern than size.
+In TIGCC, its size is exactly 64 bits.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/int_fast8_t.hsf

@@ -3,10 +3,11 @@ Name=int_fast8_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef short int int_fast8_t;
+Definition=typedef short int_fast8_t;
 
 [Description]
-An alias type for a signed integer type that contains at least 8 bits, the one that the processor handles most efficiently.
+The fastest signed type with at least 8 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 8 bits of signed data storage are wanted, and speed is more of a concern than size.
+In TIGCC, its size is 16 bits.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/int_least16_t.hsf

@@ -6,7 +6,7 @@ Header Files=stdint.h
 Definition=typedef short int int_least16_t;
 
 [Description]
-An alias type for a signed integer type that contains at least 16 bits.
+A signed type with at least 16 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 16 bits of signed data storage are wanted. In TIGCC, its size is exactly 16 bits.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/int_least32_t.hsf

@@ -3,10 +3,10 @@ Name=int_least32_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef long int int_least32_t;
+Definition=typedef long int_least32_t;
 
 [Description]
-An alias type for a signed integer type that contains at least 32 bits.
+A signed type with at least 32 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 32 bits of signed data storage are wanted. In TIGCC, its size is exactly 32 bits.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/int_least64_t.hsf

@@ -6,7 +6,7 @@ Header Files=stdint.h
 Definition=typedef long long int int_least64_t;
 
 [Description]
-An alias type for a signed integer type that contains at least 64 bits.
+A signed type with at least 64 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 64 bits of signed data storage are wanted. In TIGCC, its size is exactly 64 bits.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/int_least8_t.hsf

@@ -6,7 +6,7 @@ Header Files=stdint.h
 Definition=typedef signed char int_least8_t;
 
 [Description]
-An alias type for a signed integer type that contains at least 8 bits.
+A signed type with at least 8 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 8 bits of signed data storage are wanted. In TIGCC, its size is exactly 8 bits.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/intmax_t.hsf

@@ -3,10 +3,11 @@ Name=intmax_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef long long int intmax_t;
+Definition=typedef long long intmax_t;
 
 [Description]
-An alias type for a signed integer type capable of representing any value of any signed type.
+The largest signed integer on this platform (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when one wants the widest possible signed integer on the platform. In TIGCC, this type
+is exactly 64 bits.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/intptr_t.hsf

@@ -3,10 +3,10 @@ Name=intptr_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef long int intptr_t;
+Definition=typedef long intptr_t;
 
 [Description]
-An alias type for a signed integer type such that a <I>void *</I> can be converted to this type and back, while remaining equal to the original pointer.
+A signed integer large enough to hold a void* pointer (specified by C99).
 
 [Explanation]
-
+This type can be used when one wants to store a pointer value in a signed integer.

+ 1 - 4
tigcc/doc/System/Include/stdint.h/stdint.hsh

@@ -1,5 +1,2 @@
 [Description]
-C99 standard header file containing portable integer types and macros
-
-[Bottom]
-This header file contains definitions mandated in Paragraph 7.18 of the ANSI/ISO C99 standard, and several commonly-used optional ones.
+C99-compatible integer types with a fixed size in bits

+ 3 - 3
tigcc/doc/System/Include/stdint.h/uint16_t.hsf

@@ -3,10 +3,10 @@ Name=uint16_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned short int uint16_t;
+Definition=typedef unsigned short uint16_t;
 
 [Description]
-An alias type for an unsigned integer type that contains exactly 16 bits.
+A 16-bit type unsigned fixed-width type specified by C99.
 
 [Explanation]
-
+This type can be used when exactly 16 bits of unsigned data storage are wanted.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/uint32_t.hsf

@@ -3,10 +3,10 @@ Name=uint32_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned long int uint32_t;
+Definition=typedef unsigned long uint32_t;
 
 [Description]
-An alias type for an unsigned integer type that contains exactly 32 bits.
+A 32-bit type unsigned fixed-width type specified by C99.
 
 [Explanation]
-
+This type can be used when exactly 32 bits of unsigned data storage are wanted.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/uint64_t.hsf

@@ -3,10 +3,10 @@ Name=uint64_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned long long int uint64_t;
+Definition=typedef unsigned long long uint64_t;
 
 [Description]
-An alias type for an unsigned integer type that contains exactly 64 bits.
+A 64-bit type unsigned fixed-width type specified by C99.
 
 [Explanation]
-
+This type can be used when exactly 64 bits of unsigned data storage are wanted.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/uint8_t.hsf

@@ -6,7 +6,7 @@ Header Files=stdint.h
 Definition=typedef unsigned char uint8_t;
 
 [Description]
-An alias type for an unsigned integer type that contains exactly 8 bits.
+An 8-bit type unsigned fixed-width type specified by C99.
 
 [Explanation]
-
+This type can be used when exactly 8 bits of unsigned data storage are wanted.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/uint_fast16_t.hsf

@@ -3,10 +3,11 @@ Name=uint_fast16_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned short int uint_fast16_t;
+Definition=typedef unsigned short uint_fast16_t;
 
 [Description]
-An alias type for an unsigned integer type that contains at least 16 bits, the one that the processor handles most efficiently.
+The fastest unsigned type with at least 16 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 16 bits of unsigned data storage are wanted, and speed is more of a concern than size.
+In TIGCC, its size is exactly 16 bits.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/uint_fast32_t.hsf

@@ -3,10 +3,11 @@ Name=uint_fast32_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned long int uint_fast32_t;
+Definition=typedef unsigned long uint_fast32_t;
 
 [Description]
-An alias type for an unsigned integer type that contains at least 32 bits, the one that the processor handles most efficiently.
+The fastest unsigned type with at least 32 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 32 bits of unsigned data storage are wanted, and speed is more of a concern than size.
+In TIGCC, its size is exactly 32 bits.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/uint_fast64_t.hsf

@@ -3,10 +3,11 @@ Name=uint_fast64_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned long long int uint_fast64_t;
+Definition=typedef unsigned long long uint_fast64_t;
 
 [Description]
-An alias type for an unsigned integer type that contains at least 64 bits, the one that the processor handles most efficiently.
+The fastest unsigned type with at least 64 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 64 bits of unsigned data storage are wanted, and speed is more of a concern than size.
+In TIGCC, its size is exactly 64 bits.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/uint_fast8_t.hsf

@@ -3,10 +3,11 @@ Name=uint_fast8_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned short int uint_fast8_t;
+Definition=typedef unsigned short uint_fast8_t;
 
 [Description]
-An alias type for an unsigned integer type that contains at least 8 bits, the one that the processor handles most efficiently.
+The fastest unsigned type with at least 8 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 8 bits of unsigned data storage are wanted, and speed is more of a concern than size.
+In TIGCC, its size is 16 bits.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/uint_least16_t.hsf

@@ -3,10 +3,10 @@ Name=uint_least16_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned short int uint_least16_t;
+Definition=typedef unsigned short uint_least16_t;
 
 [Description]
-An alias type for an unsigned integer type that contains at least 16 bits.
+An unsigned type with at least 16 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 16 bits of unsigned data storage are wanted. In TIGCC, its size is exactly 16 bits.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/uint_least32_t.hsf

@@ -3,10 +3,10 @@ Name=uint_least32_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned long int uint_least32_t;
+Definition=typedef unsigned long uint_least32_t;
 
 [Description]
-An alias type for an unsigned integer type that contains at least 32 bits.
+An unsigned type with at least 32 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 32 bits of unsigned data storage are wanted. In TIGCC, its size is exactly 32 bits.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/uint_least64_t.hsf

@@ -3,10 +3,10 @@ Name=uint_least64_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned long long int uint_least64_t;
+Definition=typedef unsigned long long uint_least64_t;
 
 [Description]
-An alias type for an unsigned integer type that contains at least 64 bits.
+An unsigned type with at least 64 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 64 bits of unsigned data storage are wanted. In TIGCC, its size is exactly 64 bits.

+ 2 - 2
tigcc/doc/System/Include/stdint.h/uint_least8_t.hsf

@@ -6,7 +6,7 @@ Header Files=stdint.h
 Definition=typedef unsigned char uint_least8_t;
 
 [Description]
-An alias type for an unsigned integer type that contains at least 8 bits.
+An unsigned type with at least 8 bits (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when at least 8 bits of unsigned data storage are wanted. In TIGCC, its size is exactly 8 bits.

+ 4 - 3
tigcc/doc/System/Include/stdint.h/uintmax_t.hsf

@@ -3,10 +3,11 @@ Name=uintmax_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned long long int uintmax_t;
+Definition=typedef unsigned long long uintmax_t;
 
 [Description]
-An alias type for an unsigned integer type capable of representing any value of any unsigned type.
+The largest unsigned integer on this platform (specified by C99).
 
 [Explanation]
-Definition mandated by the C99 standard.
+This type can be used when one wants the widest possible unsigned integer on the platform. In TIGCC, this type
+is exactly 64 bits.

+ 3 - 3
tigcc/doc/System/Include/stdint.h/uintptr_t.hsf

@@ -3,10 +3,10 @@ Name=uintptr_t
 Type=Type
 Subtype=Scalar
 Header Files=stdint.h
-Definition=typedef unsigned long int uintptr_t;
+Definition=typedef unsigned long uintptr_t;
 
 [Description]
-An alias type for an unsigned integer type such that a <I>void *</I> can be converted to this type and back, while remaining equal to the original pointer.
+An unsigned integer large enough to hold a void* pointer (specified by C99).
 
 [Explanation]
-
+This type can be used when one wants to store a pointer value in an unsigned integer.

BIN
tigcc/include/C/Completion/stdint.ccf


+ 38 - 38
tigcc/include/C/stdint.h

@@ -5,21 +5,21 @@
 
 /* Begin Auto-Generated Part */
 #define INT_FAST16_MAX (32767)
-#define INT_FAST16_MIN (-32767)
+#define INT_FAST16_MIN (-32767-1)
 #define INT_FAST32_MAX (2147483647L)
-#define INT_FAST32_MIN (-2147483647L)
+#define INT_FAST32_MIN (-2147483647L-1)
 #define INT_FAST64_MAX (9223372036854775807LL)
-#define INT_FAST64_MIN (-9223372036854775807LL)
+#define INT_FAST64_MIN (-9223372036854775807LL-1)
 #define INT_FAST8_MAX (32767)
-#define INT_FAST8_MIN (-127)
+#define INT_FAST8_MIN (-32767-1)
 #define INT_LEAST16_MAX (32767)
-#define INT_LEAST16_MIN (-32767)
+#define INT_LEAST16_MIN (-32767-1)
 #define INT_LEAST32_MAX (2147483647L)
-#define INT_LEAST32_MIN (-2147483647L)
+#define INT_LEAST32_MIN (-2147483647L-1)
 #define INT_LEAST64_MAX (9223372036854775807LL)
-#define INT_LEAST64_MIN (-9223372036854775807LL)
+#define INT_LEAST64_MIN (-9223372036854775807LL-1)
 #define INT_LEAST8_MAX (127)
-#define INT_LEAST8_MIN (-127)
+#define INT_LEAST8_MIN (-128)
 #define INT16_MAX (32767)
 #define INT16_MIN (-32767-1)
 #define INT32_MAX (2147483647L)
@@ -29,51 +29,51 @@
 #define INT8_MAX (127)
 #define INT8_MIN (-128)
 #define INTMAX_MAX (9223372036854775807LL)
-#define INTMAX_MIN (-9223372036854775807LL)
+#define INTMAX_MIN (-9223372036854775807LL-1)
 #define INTPTR_MAX (2147483647L)
-#define INTPTR_MIN (-2147483647L)
-#define UINT_FAST16_MAX (65535)
+#define INTPTR_MIN (-2147483647L-1)
+#define UINT_FAST16_MAX (65535U)
 #define UINT_FAST32_MAX (4294967295UL)
 #define UINT_FAST64_MAX (18446744073709551615ULL)
-#define UINT_FAST8_MAX (65535)
-#define UINT_LEAST16_MAX (65535)
-#define UINT_LEAST32_MAX (4294967295U)
+#define UINT_FAST8_MAX (65535U)
+#define UINT_LEAST16_MAX (65535U)
+#define UINT_LEAST32_MAX (4294967295UL)
 #define UINT_LEAST64_MAX (18446744073709551615ULL)
 #define UINT_LEAST8_MAX (255)
-#define UINT16_MAX (65535)
+#define UINT16_MAX (65535U)
 #define UINT32_MAX (4294967295UL)
 #define UINT64_MAX (18446744073709551615ULL)
 #define UINT8_MAX (255)
 #define UINTMAX_MAX (18446744073709551615ULL)
 #define UINTPTR_MAX (4294967295UL)
-typedef short int int_fast16_t;
-typedef long int int_fast32_t;
-typedef long long int int_fast64_t;
-typedef short int int_fast8_t;
+typedef short int_fast16_t;
+typedef long int_fast32_t;
+typedef long long int_fast64_t;
+typedef short int_fast8_t;
 typedef short int int_least16_t;
-typedef long int int_least32_t;
+typedef long int_least32_t;
 typedef long long int int_least64_t;
 typedef signed char int_least8_t;
-typedef short int int16_t;
-typedef long int int32_t;
-typedef long long int int64_t;
+typedef short int16_t;
+typedef long int32_t;
+typedef long long int64_t;
 typedef signed char int8_t;
-typedef long long int intmax_t;
-typedef long int intptr_t;
-typedef unsigned short int uint_fast16_t;
-typedef unsigned long int uint_fast32_t;
-typedef unsigned long long int uint_fast64_t;
-typedef unsigned short int uint_fast8_t;
-typedef unsigned short int uint_least16_t;
-typedef unsigned long int uint_least32_t;
-typedef unsigned long long int uint_least64_t;
+typedef long long intmax_t;
+typedef long intptr_t;
+typedef unsigned short uint_fast16_t;
+typedef unsigned long uint_fast32_t;
+typedef unsigned long long uint_fast64_t;
+typedef unsigned short uint_fast8_t;
+typedef unsigned short uint_least16_t;
+typedef unsigned long uint_least32_t;
+typedef unsigned long long uint_least64_t;
 typedef unsigned char uint_least8_t;
-typedef unsigned short int uint16_t;
-typedef unsigned long int uint32_t;
-typedef unsigned long long int uint64_t;
+typedef unsigned short uint16_t;
+typedef unsigned long uint32_t;
+typedef unsigned long long uint64_t;
 typedef unsigned char uint8_t;
-typedef unsigned long long int uintmax_t;
-typedef unsigned long int uintptr_t;
+typedef unsigned long long uintmax_t;
+typedef unsigned long uintptr_t;
 #define INT16_C(c) c
 #define INT32_C(c) c##L
 #define INT64_C(c) c##LL
@@ -82,7 +82,7 @@ typedef unsigned long int uintptr_t;
 #define UINT16_C(c) c##U
 #define UINT32_C(c) c##UL
 #define UINT64_C(c) c##ULL
-#define UINT8_C(c) c##U
+#define UINT8_C(c) c
 #define UINTMAX_C(c) c##ULL
 /* End Auto-Generated Part */