Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man3 Make a sentence easier to read, and fix some ...



details:   https://anonhg.NetBSD.org/src/rev/75973af980c5
branches:  trunk
changeset: 966684:75973af980c5
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Nov 11 11:06:27 2019 +0000

description:
Make a sentence easier to read, and fix some nits.

diffstat:

 share/man/man3/__FPTRCAST.3 |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 04d47a281a68 -r 75973af980c5 share/man/man3/__FPTRCAST.3
--- a/share/man/man3/__FPTRCAST.3       Mon Nov 11 11:04:15 2019 +0000
+++ b/share/man/man3/__FPTRCAST.3       Mon Nov 11 11:06:27 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: __FPTRCAST.3,v 1.1 2019/11/10 18:45:09 christos Exp $ $
+.\"    $NetBSD: __FPTRCAST.3,v 1.2 2019/11/11 11:06:27 wiz Exp $ $
 .\"
 .\" Copyright (c) 2019 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -31,7 +31,7 @@
 .Dt __FPTRCAST 3
 .Os
 .Sh NAME
-.Nm __FPTRCAST ,
+.Nm __FPTRCAST
 .Nd function pointer cast
 .Sh SYNOPSIS
 .In sys/cdefs.h
@@ -44,7 +44,8 @@
 converting from one function pointer type to another.
 The
 .Fa ftype
-argument is the function pointer type to cast the function pointer in
+argument is the function pointer type to which to cast the function
+pointer in
 .Fa fname .
 .Pp
 This cast should be used sparingly and it is typically used in the following
@@ -53,7 +54,7 @@
 .It
 We know that the function prototypes don't match at all, but we don't care
 because we point it to a function that does not take arguments and returns
-an error. 
+an error.
 .It
 We only care about the first few arguments and we don't care about the rest.
 .It



Home | Main Index | Thread Index | Old Index