sysctl.c (1574) | sysctl.c (11659) |
---|---|
1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 29 unchanged lines hidden (view full) --- 38#include <sys/param.h> 39#include <sys/sysctl.h> 40 41#include <errno.h> 42#include <limits.h> 43#include <paths.h> 44#include <stdio.h> 45#include <unistd.h> | 1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 29 unchanged lines hidden (view full) --- 38#include <sys/param.h> 39#include <sys/sysctl.h> 40 41#include <errno.h> 42#include <limits.h> 43#include <paths.h> 44#include <stdio.h> 45#include <unistd.h> |
46#include <string.h> |
|
46 47int 48sysctl(name, namelen, oldp, oldlenp, newp, newlen) 49 int *name; 50 u_int namelen; 51 void *oldp, *newp; 52 size_t *oldlenp, newlen; 53{ --- 124 unchanged lines hidden --- | 47 48int 49sysctl(name, namelen, oldp, oldlenp, newp, newlen) 50 int *name; 51 u_int namelen; 52 void *oldp, *newp; 53 size_t *oldlenp, newlen; 54{ --- 124 unchanged lines hidden --- |