|
|
about sysctl.h file
Dear,
I want to use sysctl function.
my machine has sunOS5.8
the function need sysctl.h file
#include <sys/sysctl.h>
However, in my /usr/including/sys directory,
there is no such file.
How could I deal with it?
--
Achilles
|
|
0
|
|
|
|
Reply
|
csmjbw
|
7/29/2004 1:30:16 AM |
|
On Thu, 29 Jul 2004 01:30:16 +0000, J Wang wrote:
> my machine has sunOS5.8
>
> the function need sysctl.h file
>
> #include <sys/sysctl.h>
>
>
> However, in my /usr/including/sys directory,
> there is no such file.
Why would you expect it to be there?
Linux /usr/include/sys/sysctl.h
--------------------------------
#ifndef _SYS_SYSCTL_H
#define _SYS_SYSCTL_H 1
#include <features.h>
#define __need_size_t
#include <stddef.h>
/* Prevent more kernel headers than necessary to be included. */
#define _LINUX_KERNEL_H 1
#define _LINUX_TYPES_H 1
#define _LINUX_LIST_H 1
#include <linux/sysctl.h>
> How could I deal with it?
Code to POSIX standards?
|
|
0
|
|
|
|
Reply
|
Dave
|
7/29/2004 2:06:03 AM
|
|
|
1 Replies
404 Views
(page loaded in 0.031 seconds)
|
|
|
|
|
|
|
|
|