Page MenuHomeFreeBSD

D35960.id141353.diff
No OneTemporary

D35960.id141353.diff

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

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)

Event Timeline