Main index | Section 9 | Options |
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_extern.h>
Pages between the old EOF and the new EOF are removed from the object queue if the file size shrinks. In case the new EOF specified by the nsize argument is not aligned to page boundary, partial-page area starting beyond the EOF is zeroed and marked invalid. if the page exists resident.
In case the vnode vp does not have a VM object allocated, the effect of calling this function is no-op.
This function must be used within file system code to implement truncation if the file system allocates vm objects for vnodes.
VNODE_PAGER_SETSIZE (9) | April 8, 2021 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Unix...best if used before: Tue Jan 19 03:14:08 GMT 2038 | ” |