Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147397830
D4384.id10749.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
805 B
Referenced Files
None
Subscribers
None
D4384.id10749.diff
View Options
Index: share/man/man9/style.9
===================================================================
--- share/man/man9/style.9
+++ share/man/man9/style.9
@@ -26,7 +26,7 @@
.\" From: @(#)style 1.14 (Berkeley) 4/28/95
.\" $FreeBSD$
.\"
-.Dd November 22, 2015
+.Dd December 4, 2015
.Dt STYLE 9
.Os
.Sh NAME
@@ -288,6 +288,24 @@
.Vt uintXX_t
only commits.
.Pp
+Similarly, the project is slowly moving to use the
+.St -isoC-99
+.Vt bool
+in preference to the older
+.Vt int
+or
+.Vt boolean_t .
+New code should use the former, and old code may be converted if it is
+reasonable to do so.
+Literal values are named
+.Dv true
+and
+.Dv false .
+These are preferred to the old spellings
+.Dv TRUE
+and
+.Dv FALSE .
+.Pp
Enumeration values are all uppercase.
.Bd -literal
enum enumtype { ONE, TWO } et;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 3:52 PM (3 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29543241
Default Alt Text
D4384.id10749.diff (805 B)
Attached To
Mode
D4384: style.9: Add a small blurb about preferring bool to older types
Attached
Detach File
Event Timeline
Log In to Comment