Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/cstyle.1
          +++ new/usr/src/tools/scripts/cstyle.1onbld
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  .\" and limitations under the License.
  14   14  .\"
  15   15  .\" When distributing Covered Code, include this CDDL HEADER in each
  16   16  .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17  .\" If applicable, add the following below this CDDL HEADER, with the
  18   18  .\" fields enclosed by brackets "[]" replaced with your own identifying
  19   19  .\" information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  .\"
  21   21  .\" CDDL HEADER END
  22   22  .\"
  23      -.TH cstyle 1 "28 March 2005"
       23 +.TH cstyle 1ONBLD "28 March 2005"
  24   24  .SH NAME
  25   25  .I cstyle
  26   26  \- check for some common stylistic errors in C source files
  27   27  .SH SYNOPSIS
  28   28  \fBcstyle [-chpvCP] [-o constructs] [file...]\fP
  29   29  .LP
  30   30  .SH DESCRIPTION
  31   31  .IX "OS-Net build tools" "cstyle" "" "\fBcstyle\fP"
  32   32  .LP
  33   33  .I cstyle
  34   34  inspects C source files (*.c and *.h) for common sylistic errors.  It
  35   35  attempts to check for the cstyle documented in 
  36   36  \fI/shared/ON/general_docs/cstyle.ms.pdf\fP.  Note that there is much
  37   37  in that document that
  38   38  .I cannot
  39      -be checked for; just because your code is \fBcstyle(1)\fP clean does not
       39 +be checked for; just because your code is \fBcstyle(1ONBLD)\fP clean does not
  40   40  mean that you've followed Sun's C style.  \fICaveat emptor\fP.
  41   41  .LP
  42   42  .SH OPTIONS
  43   43  .LP
  44   44  The following options are supported:
  45   45  .TP 4
  46   46  .B \-c
  47   47  Check continuation line indentation inside of functions.  Sun's C style
  48   48  states that all statements must be indented to an appropriate tab stop,
  49   49  and any continuation lines after them must be indented \fIexactly\fP four
↓ open down ↓ 118 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX