Query: kvm_getfiles
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KVM_GETFILES(3) BSD Library Functions Manual KVM_GETFILES(3)NAMEkvm_getfiles -- survey open filesLIBRARYKernel 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);DESCRIPTIONThe 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 VALUESThe kvm_getfiles() function will return NULL on failure.SEE ALSOkvm(3), kvm_close(3), kvm_geterr(3), kvm_nlist(3), kvm_open(3), kvm_openfiles(3), kvm_read(3), kvm_write(3)BUGSThis routine does not belong in the kvm interface.BSDApril 19, 1994 BSD
Related Man Pages |
---|
kvm(3) - netbsd |
kvm_getlwps(3) - netbsd |
kvm_read(3) - netbsd |
kvm_geterr(3) - freebsd |
kvm_getfiles(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Debian: kvm several vulnerabilities |
kvm issue for console configuration |
kvm issue for console configuration |
Starting terminal with shortcut key combination |