summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man9/style.910
1 files changed, 10 insertions, 0 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 174acf8..d699481 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -58,6 +58,16 @@ is silent on an issue.
*/
.Ed
.Pp
+The copyright header should be a muli-line comment, with the first
+line of the comment having a dash after the star like so:
+.Bd -literal
+/*-
+ * Copyright 1942 M. Warner Losh. All Rights Reserved.
+ *
+ * Long, boring license goes here, but redacted for brevity
+ */
+.Ed
+.Pp
After any copyright header, there is a blank line, and the
.Va rcsid
for source files.
OpenPOWER on IntegriCloud