sysctlbyname.c (7f3dea244c40159a41ab22da77a434d7c5b5e85a) | sysctlbyname.c (ea8d448a923f0d68d7ecf1d2a0583c7d17bdee4e) |
---|---|
1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * | 1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * |
9 * $FreeBSD$ 10 * | |
11 */ | 9 */ |
10 11#include <sys/cdefs.h> 12__FBSDID("$FreeBSD$"); 13 |
|
12#include <sys/types.h> 13#include <sys/sysctl.h> 14#include <string.h> 15 16int 17sysctlbyname(const char *name, void *oldp, size_t *oldlenp, void *newp, 18 size_t newlen) 19{ --- 18 unchanged lines hidden --- | 14#include <sys/types.h> 15#include <sys/sysctl.h> 16#include <string.h> 17 18int 19sysctlbyname(const char *name, void *oldp, size_t *oldlenp, void *newp, 20 size_t newlen) 21{ --- 18 unchanged lines hidden --- |