summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>2008-09-24 00:19:46 +0000
committerhubertf <hubertf@NetBSD.org>2008-09-24 00:19:46 +0000
commitbce82202b3972f9d73e33b2b7d646ec8a3179dbb (patch)
treeaa4f051ef2d4e1d2fd57233acb55a6e11e4c316d /gnu
parent3315dfcbf7b3a30ce6b4ba3a8cb164149756e5c7 (diff)
Fix standard name, add c99 features, misc other cleanup.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/c99/c99.117
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/usr.bin/c99/c99.1 b/gnu/usr.bin/c99/c99.1
index dd4f9a2fd8b..a1913c167ba 100644
--- a/gnu/usr.bin/c99/c99.1
+++ b/gnu/usr.bin/c99/c99.1
@@ -1,6 +1,6 @@
-.\" $NetBSD: c99.1,v 1.1 2008/09/23 23:59:04 hubertf Exp $
+.\" $NetBSD: c99.1,v 1.2 2008/09/24 00:19:46 hubertf Exp $
.\"
-.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
+.\" Copyright (c) 1999-2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd January 5, 1999
+.Dd September 24, 2008
.Dt C99 1
.Os
.Sh NAME
@@ -40,13 +40,14 @@
Calls the C compiler (cc) with the given
.Ar options ,
using a C language environment compatible with the
-.St -ansiC
+.St -isoC-99
specification.
.Pp
-This includes proper handling of trigraphs,
+This includes
+inline functions, variable-length arrays, support for one-line
+comments beginning with //,
disabling non-ANSI compiler features (such as
.Ar asm ,
-.Ar inline ,
.Ar typeof ,
and the $ character in identifiers),
and definition of the preprocessor symbol
@@ -70,8 +71,8 @@ conforms to
.St -p1003.2-92 .
.Sh HISTORY
.Nm
-appeared in
-.Nx 1.4 .
+first appeared in
+.Nx 5.0 .
.Sh BUGS
Since
.Nm