Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/self/root/usr/include/net-snmp/agent/util_funcs/ |
Upload File : |
/* * util_funcs/get_pid_from_inode.h: utilitiy function to retrieve the pid * that controls a given inode on linux. */ #ifndef NETSNMP_MIBGROUP_UTIL_FUNCS_GET_PID_FROM_INODE_H #define NETSNMP_MIBGROUP_UTIL_FUNCS_GET_PID_FROM_INODE_H #ifndef linux config_error(get_pid_from_inode is only suppored on linux) #endif #define _LARGEFILE64_SOURCE 1 #if HAVE_DIRENT_H #include <dirent.h> #else # define dirent direct # if HAVE_SYS_NDIR_H # include <sys/ndir.h> # endif # if HAVE_SYS_DIR_H # include <sys/dir.h> # endif # if HAVE_NDIR_H # include <ndir.h> # endif #endif #include <sys/types.h> void netsnmp_get_pid_from_inode_init(void); pid_t netsnmp_get_pid_from_inode(ino64_t); #endif /* NETSNMP_MIBGROUP_UTIL_FUNCS_GET_PID_FROM_INODE_H */