Comments at top of standard headers
Joseph S. Myers
jsm28@cam.ac.uk
Wed Sep 13 14:21:00 GMT 2000
In glibc the C standard headers have comments at the top identifying the
section of the C standard they come from. Many of these still have 4.x
section numbers from the pre-ISO ANSI standard. This patch updates the
comments to give the section numbers from C99 consistently (and makes the
wording agree with the section titles in C99 in all cases).
--- assert/assert.h Tue Aug 1 23:46:51 2000
+++ assert/assert.h.new Wed Sep 13 11:34:06 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.2 DIAGNOSTICS <assert.h>
+ * ISO C99 Standard: 7.2 Diagnostics <assert.h>
*/
#ifdef _ASSERT_H
--- math/complex.h Sun Oct 31 18:18:37 1999
+++ math/complex.h.new Wed Sep 13 11:37:00 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C99: 7.8 Complex arithmetic <complex.h>
+ * ISO C99: 7.3 Complex arithmetic <complex.h>
*/
#ifndef _COMPLEX_H
--- ctype/ctype.h Sun Aug 20 10:16:23 2000
+++ ctype/ctype.h.new Wed Sep 13 11:38:11 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard 4.3: CHARACTER HANDLING <ctype.h>
+ * ISO C99 Standard 7.4: Character handling <ctype.h>
*/
#ifndef _CTYPE_H
--- include/errno.h Sat Jun 21 01:16:52 1997
+++ include/errno.h.new Wed Sep 13 11:39:28 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.1.3 Errors <errno.h>
+ * ISO C99 Standard: 7.5 Errors <errno.h>
*/
#ifndef _ERRNO_H
--- include/limits.h Mon Jul 24 00:28:57 2000
+++ include/limits.h.new Wed Sep 13 11:41:40 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.14/2.2.4.2 Limits of integral types <limits.h>
+ * ISO C99 Standard: 7.10/5.2.4.2.1 Sizes of integer types <limits.h>
*/
#ifndef _LIBC_LIMITS_H_
--- locale/locale.h Sat Sep 2 12:36:56 2000
+++ locale/locale.h.new Wed Sep 13 11:42:51 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.4 LOCALIZATION <locale.h>
+ * ISO C99 Standard: 7.11 Localization <locale.h>
*/
#ifndef _LOCALE_H
--- math/math.h Sun Aug 20 10:16:24 2000
+++ math/math.h.new Wed Sep 13 11:44:10 2000
@@ -18,7 +18,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.5 MATHEMATICS <math.h>
+ * ISO C99 Standard: 7.12 Mathematics <math.h>
*/
#ifndef _MATH_H
--- setjmp/setjmp.h Sat Oct 9 21:23:36 1999
+++ setjmp/setjmp.h.new Wed Sep 13 11:45:21 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.6 NON-LOCAL JUMPS <setjmp.h>
+ * ISO C99 Standard: 7.13 Nonlocal jumps <setjmp.h>
*/
#ifndef _SETJMP_H
--- signal/signal.h Sat Sep 2 12:42:22 2000
+++ signal/signal.h.new Wed Sep 13 11:47:14 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.7 SIGNAL HANDLING <signal.h>
+ * ISO C99 Standard: 7.14 Signal handling <signal.h>
*/
#ifndef _SIGNAL_H
--- stdio/stdio.h Thu Dec 2 08:15:17 1999
+++ stdio/stdio.h.new Wed Sep 13 11:48:38 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.9 INPUT/OUTPUT <stdio.h>
+ * ISO C99 Standard: 7.19 Input/output <stdio.h>
*/
#ifndef _STDIO_H
--- libio/stdio.h Sat Sep 2 12:36:55 2000
+++ libio/stdio.h.new Wed Sep 13 11:49:24 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.9 INPUT/OUTPUT <stdio.h>
+ * ISO C99 Standard: 7.19 Input/output <stdio.h>
*/
#ifndef _STDIO_H
--- stdlib/stdlib.h Wed Aug 23 11:21:23 2000
+++ stdlib/stdlib.h.new Wed Sep 13 21:09:26 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.10 GENERAL UTILITIES <stdlib.h>
+ * ISO C99 Standard: 7.20 General utilities <stdlib.h>
*/
#ifndef _STDLIB_H
--- string/string.h Mon Aug 21 11:43:40 2000
+++ string/string.h.new Wed Sep 13 21:10:31 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.11 STRING HANDLING <string.h>
+ * ISO C99 Standard: 7.21 String handling <string.h>
*/
#ifndef _STRING_H
--- time/time.h Wed Aug 23 11:21:24 2000
+++ time/time.h.new Wed Sep 13 21:11:44 2000
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard: 4.12 DATE and TIME <time.h>
+ * ISO C99 Standard: 7.23 Date and time <time.h>
*/
#ifndef _TIME_H
--- wcsmbs/wchar.h Sat Sep 2 12:42:26 2000
+++ wcsmbs/wchar.h.new Wed Sep 13 21:13:46 2000
@@ -17,8 +17,8 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard, Amendment 1, 7.16.4
- * General wide-string utilities <wchar.h>
+ * ISO C99 Standard: 7.24
+ * Extended multibyte and wide character utilities <wchar.h>
*/
#ifndef _WCHAR_H
--- wctype/wctype.h Sun Aug 20 10:16:36 2000
+++ wctype/wctype.h.new Wed Sep 13 21:15:23 2000
@@ -17,8 +17,8 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C Standard, Amendment 1, 7.15:
- * Wide-character classification and mapping utilities <wctype.h>
+ * ISO C99 Standard: 7.25
+ * Wide character classification and mapping utilities <wctype.h>
*/
#ifndef _WCTYPE_H
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Libc-alpha
mailing list