Changeset View
Changeset View
Standalone View
Standalone View
share/man/man9/sysctl_add_oid.9
Show All 21 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd November 6, 2015 | .Dd December 13, 2016 | ||||
rpokala: s/2015/2016/ | |||||
.Dt SYSCTL_ADD_OID 9 | .Dt SYSCTL_ADD_OID 9 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm sysctl_add_oid , | .Nm sysctl_add_oid , | ||||
.Nm sysctl_move_oid , | .Nm sysctl_move_oid , | ||||
.Nm sysctl_remove_oid , | .Nm sysctl_remove_oid , | ||||
.Nm sysctl_remove_name | .Nm sysctl_remove_name | ||||
.Nd runtime sysctl tree manipulation | .Nd runtime sysctl tree manipulation | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In sys/types.h | .In sys/types.h | ||||
.In sys/sysctl.h | .In sys/sysctl.h | ||||
.Ft struct sysctl_oid * | .Ft struct sysctl_oid * | ||||
.Fo sysctl_add_oid | .Fo sysctl_add_oid | ||||
.Fa "struct sysctl_ctx_list *ctx" | .Fa "struct sysctl_ctx_list *ctx" | ||||
.Fa "struct sysctl_oid_list *parent" | .Fa "struct sysctl_oid_list *parent" | ||||
.Fa "int number" | .Fa "int number" | ||||
.Fa "const char *name" | .Fa "const char *name" | ||||
.Fa "int kind" | .Fa "int kind" | ||||
.Fa "void *arg1" | .Fa "void *arg1" | ||||
.Fa "intmax_t arg2" | .Fa "intmax_t arg2" | ||||
.Fa "int (*handler) (SYSCTL_HANDLER_ARGS)" | .Fa "int (*handler) (SYSCTL_HANDLER_ARGS)" | ||||
.Fa "const char *format" | .Fa "const char *format" | ||||
.Fa "const char *descr" | .Fa "const char *descr" | ||||
.Fa "const char *label" | |||||
.Fc | .Fc | ||||
.Ft int | .Ft int | ||||
.Fo sysctl_move_oid | .Fo sysctl_move_oid | ||||
.Fa "struct sysctl_oid *oidp" | .Fa "struct sysctl_oid *oidp" | ||||
.Fa "struct sysctl_oid_list *parent" | .Fa "struct sysctl_oid_list *parent" | ||||
.Fc | .Fc | ||||
.Ft int | .Ft int | ||||
.Fo sysctl_remove_oid | .Fo sysctl_remove_oid | ||||
▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines |
s/2015/2016/