version 1.118, 2010/06/04 21:49:39 |
version 1.119, 2010/06/04 22:16:27 |
|
|
See also |
See also |
.Sx \&Cm . |
.Sx \&Cm . |
.Ss \&Fn |
.Ss \&Fn |
|
A function name. |
|
Its calling syntax is as follows: |
|
.Bd -ragged -offset indent |
|
.Pf \. Ns Sx \&Fn |
|
.Op Cm functype |
|
.Cm funcname |
|
.Op Oo Cm argtype Oc Cm argname |
|
.Ed |
|
If invoked in the |
|
.Em SYNOPSIS |
|
section, vertical space is asserted before and after the macro. |
|
In all cases, the function arguments are surrounded in parenthesis and |
|
are delimited by commas. |
|
If no arguments are specified, blank parenthesis are output. |
|
.Pp |
|
Examples: |
|
.D1 \&.Fn "int funcname" "int arg0" "int arg1" |
|
.D1 \&.Fn funcname |
|
.D1 \&.Fn funcname "int arg0" |
|
.D1 \&.Fn funcname arg0 |
|
.Pp |
|
See also |
|
.Sx \&Fa , |
|
.Sx \&Fo , |
|
.Sx \&Fc , |
|
and |
|
.Sx \&Ft . |
.Ss \&Fo |
.Ss \&Fo |
.Ss \&Fr |
.Ss \&Fr |
.Ss \&Ft |
.Ss \&Ft |
Line 2047 Heirloom troff, the other significant troff implementa |
|
Line 2074 Heirloom troff, the other significant troff implementa |
|
\-mdoc, is similar to historic groff. |
\-mdoc, is similar to historic groff. |
.Pp |
.Pp |
.Bl -dash -compact |
.Bl -dash -compact |
|
.It |
|
Historic groff does not break before an |
|
.Sx \&Fn |
|
when not invoked as the line macro in the |
|
.Em SYNOPSIS |
|
section. |
.It |
.It |
Historic groff formats the |
Historic groff formats the |
.Sx \&In |
.Sx \&In |