diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-08-03 13:56:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-08-03 13:56:03 +0000 |
commit | f8b098e9d77ce8d9414dc374cc5e74d93e781c91 (patch) | |
tree | 5f3b4778ca2c368d6aa8878d62a96e8cf8b85a7d /share/man | |
parent | 4ef635e9a8f8e2e631082dd1cf597200fc574171 (diff) |
replace the excessively long, barely readable .Fn macros lines in
the SYNOPSIS with the modern .Fo idiom; no output change
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/sysctl_int.9 | 87 |
1 files changed, 75 insertions, 12 deletions
diff --git a/share/man/man9/sysctl_int.9 b/share/man/man9/sysctl_int.9 index bd68ec488ae..aedd0169d9f 100644 --- a/share/man/man9/sysctl_int.9 +++ b/share/man/man9/sysctl_int.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl_int.9,v 1.7 2020/08/02 04:24:45 gnezdo Exp $ +.\" $OpenBSD: sysctl_int.9,v 1.8 2020/08/03 13:56:02 schwarze Exp $ .\" .\" Copyright (c) 2006 Michael Shalayeff .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 2 2020 $ +.Dd $Mdocdate: August 3 2020 $ .Dt SYSCTL_INT 9 .Os .Sh NAME @@ -34,25 +34,88 @@ .In sys/types.h .In sys/sysctl.h .Ft int -.Fn sysctl_int "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen" "int *valp" +.Fo sysctl_int +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "size_t newlen" +.Fa "int *valp" +.Fc .Ft int -.Fn sysctl_int_arr "int **valpp" "u_int valplen" "int *name" "u_int namelen" "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen" +.Fo sysctl_int_arr +.Fa "int **valpp" +.Fa "u_int valplen" +.Fa "int *name" +.Fa "u_int namelen" +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "size_t newlen" +.Fc .Ft int -.Fn sysctl_quad "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen" "int64_t *valp" +.Fo sysctl_quad +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "size_t newlen" +.Fa "int64_t *valp" +.Fc .Ft int -.Fn sysctl_string "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen" "char *str" "int maxlen" +.Fo sysctl_string +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "size_t newlen" +.Fa "char *str" +.Fa "int maxlen" +.Fc .Ft int -.Fn sysctl_tstring "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen" "char *str" "int maxlen" +.Fo sysctl_tstring +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "size_t newlen" +.Fa "char *str" +.Fa "int maxlen" +.Fc .Ft int -.Fn sysctl_rdint "void *oldp" "size_t *oldlenp" "void *newp" "int val" +.Fo sysctl_rdint +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "int val" +.Fc .Ft int -.Fn sysctl_rdquad "void *oldp" "size_t *oldlenp" "void *newp" "int64_t val" +.Fo sysctl_rdquad +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "int64_t val" +.Fc .Ft int -.Fn sysctl_rdstring "void *oldp" "size_t *oldlenp" "void *newp" "const char *str" +.Fo sysctl_rdstring +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "const char *str" +.Fc .Ft int -.Fn sysctl_rdstruct "void *oldp" "size_t *oldlenp" "void *newp" "const void *sp" "int len" +.Fo sysctl_rdstruct +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "const void *sp" +.Fa "int len" +.Fc .Ft int -.Fn sysctl_struct "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen" "void *sp" "int len" +.Fo sysctl_struct +.Fa "void *oldp" +.Fa "size_t *oldlenp" +.Fa "void *newp" +.Fa "size_t newlen" +.Fa "void *sp" +.Fa "int len" +.Fc .Sh DESCRIPTION These functions and data structures aim to simplify and partially implement operations for the kernel and user implementations of the |