Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142390294
D35960.id141353.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
727 B
Referenced Files
None
Subscribers
None
D35960.id141353.diff
View Options
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -52,11 +52,17 @@
/* Most single-line comments look like this. */
+// Although they may look like this.
+
/*
* Multi-line comments look like this. Make them real sentences. Fill
* them so they look like real paragraphs.
*/
.Ed
+C++ comments may be used in C and C++ code.
+Single-line comments should be consistently either C or C++ within a file.
+Multi-line comments should also be consistently either C or C++, but may differ
+from single-line comments.
.Pp
The copyright header should be a multi-line comment, with the first
line of the comment having a dash after the star like so:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 11:53 AM (2 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27762928
Default Alt Text
D35960.id141353.diff (727 B)
Attached To
Mode
D35960: style: Allow C++ comments
Attached
Detach File
Event Timeline
Log In to Comment