diff options
author | des <des@FreeBSD.org> | 2004-02-27 17:13:42 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-27 17:13:42 +0000 |
commit | 1d0a3939bf9684ea2240fff1b5e6e066a3a3ffcb (patch) | |
tree | 507eba878742ef4e473571695e0dec03bfd275d2 /share/man/man9/sysctl_add_oid.9 | |
parent | 51a4ce2dff560c281dddeab0f377c10ef9b156e7 (diff) | |
download | FreeBSD-src-1d0a3939bf9684ea2240fff1b5e6e066a3a3ffcb.zip FreeBSD-src-1d0a3939bf9684ea2240fff1b5e6e066a3a3ffcb.tar.gz |
Document sysctl_move_oid().
Diffstat (limited to 'share/man/man9/sysctl_add_oid.9')
-rw-r--r-- | share/man/man9/sysctl_add_oid.9 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/share/man/man9/sysctl_add_oid.9 b/share/man/man9/sysctl_add_oid.9 index 46beea2..68d40a1 100644 --- a/share/man/man9/sysctl_add_oid.9 +++ b/share/man/man9/sysctl_add_oid.9 @@ -32,6 +32,7 @@ .Os .Sh NAME .Nm sysctl_add_oid , +.Nm sysctl_move_oid , .Nm sysctl_remove_oid .Nd runtime sysctl tree manipulation .Sh SYNOPSIS @@ -51,6 +52,11 @@ .Fa "const char *descr" .Fc .Ft int +.Fo sysctl_move_oid +.Fa "struct sysctl_oid *oidp" +.Fa "struct sysctl_oid_list *parent" +.Fc +.Ft int .Fo sysctl_remove_oid .Fa "struct sysctl_oid *oidp" .Fa "int del" @@ -333,6 +339,14 @@ A pointer to a textual description of the oid. .El .Pp The +.Fn sysctl_move_oid +function reparents an existing oid. +The oid is assigned a new number as if it had been created with +.Fa number +set to +.Dv OID_AUTO . +.Pp +The .Fn sysctl_remove_oid function removes a dynamically created oid from the tree, optionally freeing its resources. |