More cases in which Fn should be used instead of Nm.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@545 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
d619fcb520
commit
8121567cf6
|
@ -474,7 +474,7 @@ $func->{'man'}
|
||||||
} elsif ($func->{'type'} eq "int" && @errors) {
|
} elsif ($func->{'type'} eq "int" && @errors) {
|
||||||
$mdoc .= ".Sh RETURN VALUES
|
$mdoc .= ".Sh RETURN VALUES
|
||||||
The
|
The
|
||||||
.Nm
|
.Fn $func->{'name'}
|
||||||
function returns one of the following values:
|
function returns one of the following values:
|
||||||
.Bl -tag -width 18n
|
.Bl -tag -width 18n
|
||||||
";
|
";
|
||||||
|
@ -485,13 +485,13 @@ function returns one of the following values:
|
||||||
} elsif ($func->{'type'} eq "int") {
|
} elsif ($func->{'type'} eq "int") {
|
||||||
$mdoc .= ".Sh RETURN VALUES
|
$mdoc .= ".Sh RETURN VALUES
|
||||||
The
|
The
|
||||||
.Nm
|
.Fn $func->{'name'}
|
||||||
function returns 0 on success and -1 on failure.
|
function returns 0 on success and -1 on failure.
|
||||||
";
|
";
|
||||||
} elsif ($func->{'type'} =~ m/\*$/) {
|
} elsif ($func->{'type'} =~ m/\*$/) {
|
||||||
$mdoc .= ".Sh RETURN VALUES
|
$mdoc .= ".Sh RETURN VALUES
|
||||||
The
|
The
|
||||||
.Nm
|
.Fn $func->{'name'}
|
||||||
function returns
|
function returns
|
||||||
.Dv NULL
|
.Dv NULL
|
||||||
on failure.
|
on failure.
|
||||||
|
@ -503,7 +503,7 @@ on failure.
|
||||||
$mdoc .= ".Sh STANDARDS\n";
|
$mdoc .= ".Sh STANDARDS\n";
|
||||||
if ($func->{'openpam'}) {
|
if ($func->{'openpam'}) {
|
||||||
$mdoc .= "The
|
$mdoc .= "The
|
||||||
.Nm
|
.Fn $func->{'name'}
|
||||||
function is an OpenPAM extension.
|
function is an OpenPAM extension.
|
||||||
";
|
";
|
||||||
} else {
|
} else {
|
||||||
|
@ -515,7 +515,7 @@ function is an OpenPAM extension.
|
||||||
}
|
}
|
||||||
$mdoc .= ".Sh AUTHORS
|
$mdoc .= ".Sh AUTHORS
|
||||||
The
|
The
|
||||||
.Nm
|
.Fn $func->{'name'}
|
||||||
function and this manual page were developed for the
|
function and this manual page were developed for the
|
||||||
.Fx
|
.Fx
|
||||||
Project by\n" . $AUTHORS{$func->{'author'} // 'THINKSEC_DARPA'} . "\n";
|
Project by\n" . $AUTHORS{$func->{'author'} // 'THINKSEC_DARPA'} . "\n";
|
||||||
|
|
Loading…
Reference in New Issue