Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Minor markup tweaks.
details: https://anonhg.NetBSD.org/src/rev/3587452ca5e1
branches: trunk
changeset: 453243:3587452ca5e1
user: uwe <uwe%NetBSD.org@localhost>
date: Sun Aug 04 01:22:49 2019 +0000
description:
Minor markup tweaks.
diffstat:
lib/libc/sys/recv.2 | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diffs (61 lines):
diff -r dbfd5f02b403 -r 3587452ca5e1 lib/libc/sys/recv.2
--- a/lib/libc/sys/recv.2 Sat Aug 03 19:56:42 2019 +0000
+++ b/lib/libc/sys/recv.2 Sun Aug 04 01:22:49 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: recv.2,v 1.38 2018/03/19 16:26:26 roy Exp $
+.\" $NetBSD: recv.2,v 1.39 2019/08/04 01:22:49 uwe Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -75,7 +75,7 @@
call can be used to receive multiple messages in the same call using an array of
.Fa mmsghdr
elements with the following form, as defined in
-.Ao Pa sys/socket.h Ac :
+.In sys/socket.h :
.Bd -literal
struct mmsghdr {
struct msghdr msg_hdr; /* the message to be sent */
@@ -173,12 +173,13 @@
argument to a recv call is formed by
.Em or Ap ing
one or more of the values:
-.Bl -column MSG_CMSG_CLOEXEC -offset indent
+.Bl -column ".Dv MSG_CMSG_CLOEXEC" -offset indent
.It Dv MSG_CMSG_CLOEXEC Ta set the close on exec property for passed file descriptors
.It Dv MSG_OOB Ta process out-of-band data
.It Dv MSG_PEEK Ta peek at incoming message
.It Dv MSG_WAITALL Ta wait for full request or error
.El
+.Pp
The
.Dv MSG_OOB
flag requests receipt of out-of-band data
@@ -205,7 +206,7 @@
.Fa msghdr
structure to minimize the number of directly supplied parameters.
This structure has the following form, as defined in
-.Ao Pa sys/socket.h Ac :
+.In sys/socket.h :
.Bd -literal
struct msghdr {
void *msg_name; /* optional address */
@@ -253,7 +254,7 @@
As an example, one could use this to learn of changes in the data-stream
in XNS/SPP, or in ISO, to obtain user-connection-request data by requesting
a recvmsg with no data buffer provided immediately after an
-.Fn accept
+.Xr accept 2
call.
.Pp
Open file descriptors are now passed as ancillary data for
@@ -317,7 +318,8 @@
The receive was interrupted by delivery of a signal before
any data were available.
.It Bq Er EINVAL
-The total length of the I/O is more than can be expressed by the ssize_t
+The total length of the I/O is more than can be expressed by the
+.Vt ssize_t
return value.
.It Bq Er ENOBUFS
A message was not delivered because it would have overflowed the buffer.
Home |
Main Index |
Thread Index |
Old Index