Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kvm_getfiles(3) [freebsd man page]

KVM_GETFILES(3) 					   BSD Library Functions Manual 					   KVM_GETFILES(3)

NAME
kvm_getfiles -- survey open files LIBRARY
Kernel Data Access Library (libkvm, -lkvm) SYNOPSIS
#include <kvm.h> #include <sys/types.h> #define _KERNEL #include <sys/file.h> #undef _KERNEL char * kvm_getfiles(kvm_t *kd, int op, int arg, int *cnt); DESCRIPTION
The kvm_getfiles() function returns a (sub-)set of the open files in the kernel indicated by kd. The op and arg arguments constitute a pred- icate which limits the set of files returned. No predicates are currently defined. The number of files found is returned in the reference parameter cnt. The files are returned as a contiguous array of file structures, pre- ceded by the address of the first file entry in the kernel. This memory is owned by kvm and is not guaranteed to be persistent across subse- quent kvm library calls. Data should be copied out if it needs to be saved. RETURN VALUES
The kvm_getfiles() function will return NULL on failure. SEE ALSO
kvm(3), kvm_close(3), kvm_geterr(3), kvm_nlist(3), kvm_open(3), kvm_openfiles(3), kvm_read(3), kvm_write(3) BUGS
This routine does not belong in the kvm interface. BSD
April 19, 1994 BSD

Check Out this Related Man Page

KVM_GETFILES(3) 					   BSD Library Functions Manual 					   KVM_GETFILES(3)

NAME
kvm_getfiles -- survey open files LIBRARY
Kernel Data Access Library (libkvm, -lkvm) SYNOPSIS
#include <kvm.h> #include <sys/kinfo.h> #define _KERNEL #include <sys/file.h> #undef _KERNEL char * kvm_getfiles(kvm_t *kd, int op, int arg, int *cnt); DESCRIPTION
kvm_getfiles() returns a (sub-)set of the open files in the kernel indicated by kd. The op and arg arguments constitute a predicate which limits the set of files returned. No predicates are currently defined. The number of processes found is returned in the reference parameter cnt. The files are returned as a contiguous array of file structures, preceded by the address of the first file entry in the kernel. This memory is owned by kvm and is not guaranteed to be persistent across subsequent kvm library calls. Data should be copied out if it needs to be saved. RETURN VALUES
kvm_getfiles() will return NULL on failure. SEE ALSO
kvm(3), kvm_close(3), kvm_geterr(3), kvm_nlist(3), kvm_open(3), kvm_openfiles(3), kvm_read(3), kvm_write(3) BUGS
This routine does not belong in the kvm interface. BSD
April 19, 1994 BSD
Man Page

3 More Discussions You Might Find Interesting

1. Solaris

kvm issue for console configuration

(0 Replies)
Discussion started by: vkav
0 Replies

2. Hardware

kvm issue for console configuration

Hi i am new to unix , i need to do console configuration on aix p520 there is no HMC device, i tried doing connecting through null cable via hyper terminal still no result, team says kvm issue so what is kvm issue.... (2 Replies)
Discussion started by: vkav
2 Replies

3. UNIX for Dummies Questions & Answers

Starting terminal with shortcut key combination

How can the shortcut keys be defined that would open up a terminal window? When using a kvm switch, the mouse sometimes does not work, but the keyboard does, and by opening up a terminal window using a shortcut key combination, the mouse can be restarted by entering the predefined mouserestart... (0 Replies)
Discussion started by: figaro
0 Replies