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:
Dag-Erling Smørgrav 2012-03-31 23:12:54 +00:00
parent d619fcb520
commit 8121567cf6
1 changed files with 5 additions and 5 deletions

View File

@ -474,7 +474,7 @@ $func->{'man'}
} elsif ($func->{'type'} eq "int" && @errors) {
$mdoc .= ".Sh RETURN VALUES
The
.Nm
.Fn $func->{'name'}
function returns one of the following values:
.Bl -tag -width 18n
";
@ -485,13 +485,13 @@ function returns one of the following values:
} elsif ($func->{'type'} eq "int") {
$mdoc .= ".Sh RETURN VALUES
The
.Nm
.Fn $func->{'name'}
function returns 0 on success and -1 on failure.
";
} elsif ($func->{'type'} =~ m/\*$/) {
$mdoc .= ".Sh RETURN VALUES
The
.Nm
.Fn $func->{'name'}
function returns
.Dv NULL
on failure.
@ -503,7 +503,7 @@ on failure.
$mdoc .= ".Sh STANDARDS\n";
if ($func->{'openpam'}) {
$mdoc .= "The
.Nm
.Fn $func->{'name'}
function is an OpenPAM extension.
";
} else {
@ -515,7 +515,7 @@ function is an OpenPAM extension.
}
$mdoc .= ".Sh AUTHORS
The
.Nm
.Fn $func->{'name'}
function and this manual page were developed for the
.Fx
Project by\n" . $AUTHORS{$func->{'author'} // 'THINKSEC_DARPA'} . "\n";