summaryrefslogtreecommitdiff
path: root/share/man/man9/sbuf.9
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-04-06 02:46:09 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-04-06 02:46:09 +0000
commite90ede1cc89c112923a99f431ba38b2178e15422 (patch)
tree2addcdbf89f00bff87328195f9af7a1360188234 /share/man/man9/sbuf.9
parenta6848fd5605e82d9ead76c1f89efe3b6948f6735 (diff)
downloadsrc-test2-e90ede1cc89c112923a99f431ba38b2178e15422.tar.gz
src-test2-e90ede1cc89c112923a99f431ba38b2178e15422.zip
Notes
Diffstat (limited to 'share/man/man9/sbuf.9')
-rw-r--r--share/man/man9/sbuf.928
1 files changed, 16 insertions, 12 deletions
diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9
index 91c09f1c3600..e9de2c8f27bd 100644
--- a/share/man/man9/sbuf.9
+++ b/share/man/man9/sbuf.9
@@ -106,12 +106,6 @@
.Fa "size_t len"
.Fc
.Ft int
-.Fo sbuf_bcopyin
-.Fa "struct sbuf *s"
-.Fa "const void *uaddr"
-.Fa "size_t len"
-.Fc
-.Ft int
.Fo sbuf_bcpy
.Fa "struct sbuf *s"
.Fa "const void *buf"
@@ -128,12 +122,6 @@
.Fa "const char *str"
.Fc
.Ft int
-.Fo sbuf_copyin
-.Fa "struct sbuf *s"
-.Fa "const void *uaddr"
-.Fa "size_t len"
-.Fc
-.Ft int
.Fo sbuf_printf
.Fa "struct sbuf *s"
.Fa "const char *fmt" "..."
@@ -207,6 +195,21 @@
.Fo sbuf_putbuf
.Fa "struct sbuf *s"
.Fc
+.Fd #ifdef _KERNEL
+.In sys/types.h
+.In sys/sbuf.h
+.Ft int
+.Fo sbuf_bcopyin
+.Fa "struct sbuf *s"
+.Fa "const void *uaddr"
+.Fa "size_t len"
+.Fc
+.Ft int
+.Fo sbuf_copyin
+.Fa "struct sbuf *s"
+.Fa "const void *uaddr"
+.Fa "size_t len"
+.Fc
.In sys/sysctl.h
.Ft struct sbuf *
.Fo sbuf_new_for_sysctl
@@ -215,6 +218,7 @@
.Fa "int length"
.Fa "struct sysctl_req *req"
.Fc
+.Fd #endif /* _KERNEL */
.Sh DESCRIPTION
The
.Nm