style(9): add some additional useful FILES/xref information
Submitted by: 0mp Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D15196
This commit is contained in:
parent
912aad0f69
commit
37394a5d7e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333238
@ -404,8 +404,7 @@ When convention requires a
|
|||||||
make its name match the struct tag.
|
make its name match the struct tag.
|
||||||
Avoid typedefs ending in
|
Avoid typedefs ending in
|
||||||
.Dq Li _t ,
|
.Dq Li _t ,
|
||||||
except as specified in Standard C or by
|
except as specified in Standard C or by POSIX.
|
||||||
.Tn POSIX .
|
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
/* Make the structure name match the typedef. */
|
/* Make the structure name match the typedef. */
|
||||||
typedef struct bar {
|
typedef struct bar {
|
||||||
@ -861,11 +860,25 @@ Whenever possible, code should be run through a code checker
|
|||||||
(e.g., various static analyzers or
|
(e.g., various static analyzers or
|
||||||
.Nm cc Fl Wall )
|
.Nm cc Fl Wall )
|
||||||
and produce minimal warnings.
|
and produce minimal warnings.
|
||||||
|
.Sh FILES
|
||||||
|
.Bl -tag -width indent
|
||||||
|
.It Pa /usr/src/tools/tools/editing/freebsd.el
|
||||||
|
An Emacs plugin to follow the
|
||||||
|
.Fx
|
||||||
|
.Nm
|
||||||
|
indentation rules.
|
||||||
|
.It Pa /usr/src/tools/tools/editing/freebsd.vim
|
||||||
|
A Vim plugin to follow the
|
||||||
|
.Fx
|
||||||
|
.Nm
|
||||||
|
indentation rules.
|
||||||
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr indent 1 ,
|
.Xr indent 1 ,
|
||||||
.Xr err 3 ,
|
.Xr err 3 ,
|
||||||
.Xr warn 3 ,
|
.Xr warn 3 ,
|
||||||
.Xr style.Makefile 5
|
.Xr style.Makefile 5 ,
|
||||||
|
.Xr style.lua 9
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
This manual page is largely based on the
|
This manual page is largely based on the
|
||||||
.Pa src/admin/style/style
|
.Pa src/admin/style/style
|
||||||
|
Loading…
Reference in New Issue
Block a user