summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2018-02-16 07:42:08 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2018-02-16 07:42:08 +0000
commitb3b714ff47455a370be7e3b7b458e9efba248a68 (patch)
tree2871339487f446e919aabf1465894045316739d8 /lib
parente75778f65189acb315a450a18c4af590191ff943 (diff)
Fix function argument names, from Abel Abraham Camarillo Ojeda via jmc@.
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/imsg_init.318
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libutil/imsg_init.3 b/lib/libutil/imsg_init.3
index ffca89d961b..f1a32f4b966 100644
--- a/lib/libutil/imsg_init.3
+++ b/lib/libutil/imsg_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: imsg_init.3,v 1.20 2017/12/06 12:07:08 zhuk Exp $
+.\" $OpenBSD: imsg_init.3,v 1.21 2018/02/16 07:42:07 nicm Exp $
.\"
.\" Copyright (c) 2010 Nicholas Marriott <nicm@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 6 2017 $
+.Dd $Mdocdate: February 16 2018 $
.Dt IMSG_INIT 3
.Os
.Sh NAME
@@ -66,7 +66,7 @@
.Fn imsg_create "struct imsgbuf *ibuf" "uint32_t type" "uint32_t peerid" \
"pid_t pid" "uint16_t datalen"
.Ft int
-.Fn imsg_add "struct ibuf *buf" "const void *data" "uint16_t datalen"
+.Fn imsg_add "struct ibuf *msg" "const void *data" "uint16_t datalen"
.Ft void
.Fn imsg_close "struct imsgbuf *ibuf" "struct ibuf *msg"
.Ft void
@@ -181,19 +181,19 @@ returns a pointer to a new message if it succeeds, NULL otherwise.
.Pp
.Fn imsg_add
appends to
-.Fa imsg
-.Fa len
+.Fa msg
+.Fa datalen
bytes of ancillary data pointed to by
-.Fa buf .
+.Fa data .
It returns
.Fa len
if it succeeds, \-1 otherwise.
.Pp
.Fn imsg_close
completes creation of
-.Fa imsg
+.Fa msg
by adding it to
-.Fa imsgbuf
+.Fa ibuf
output buffer.
.Pp
.Fn imsg_compose
@@ -391,7 +391,7 @@ ready to be sent.
The
.Fn ibuf_write
routine transmits as many pending buffers as possible from
-.Fn msgbuf
+.Fa msgbuf
using
.Xr writev 2 .
It returns 1 if it succeeds, \-1 on error and 0 when no buffers were