summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-10-16 09:46:38 +0000
committeryar <yar@FreeBSD.org>2004-10-16 09:46:38 +0000
commitada175da60c0a26c50bcad3188aa792ba00deef1 (patch)
tree74ea9e201aa5b70d8d9e33029d1ed4f585b9dda5 /lib
parent4a839deb31c58dcd8be7c9581e623dcc86740d3b (diff)
downloadFreeBSD-src-ada175da60c0a26c50bcad3188aa792ba00deef1.zip
FreeBSD-src-ada175da60c0a26c50bcad3188aa792ba00deef1.tar.gz
Improve mdoc(7) markup.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/sendfile.212
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index 275c047..8c7dadb 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -61,7 +61,9 @@ argument specifies how many bytes of the file should be sent, with 0 having the
meaning of send until the end of file has been reached.
.Pp
An optional header and/or trailer can be sent before and after the file data by specifying
-a pointer to a struct sf_hdtr, which has the following structure:
+a pointer to a
+.Vt "struct sf_hdtr" ,
+which has the following structure:
.Pp
.Bd -literal -offset indent -compact
struct sf_hdtr {
@@ -76,7 +78,9 @@ The
.Fa headers
and
.Fa trailers
-pointers, if non-NULL, point to arrays of struct iovec structures.
+pointers, if
+.Pf non- Dv NULL ,
+point to arrays of struct iovec structures.
See the
.Fn writev
system call for information on the iovec structure.
@@ -86,7 +90,9 @@ arrays is specified by
and
.Fa trl_cnt .
.Pp
-If non-NULL, the system will write the total number of bytes sent on the socket to the
+If
+.Pf non- Dv NULL ,
+the system will write the total number of bytes sent on the socket to the
variable pointed to by
.Fa sbytes .
.Pp
OpenPOWER on IntegriCloud