tail head cat sleep
QR code linking to this page

Manual Pages  — VFS_TIMESTAMP

NAME

vfs_timestamp – generate current timestamp

CONTENTS

SYNOPSIS

#include <sys/param.h>
#include <sys/vnode.h>

void
vfs_timestamp(struct timespec *tsp);

DESCRIPTION

The vfs_timestamp() function fills in tsp with the current time.

The precision is based on the value of the vfs.timestamp_precision sysctl variable:

0 seconds only; nanoseconds are zeroed.
1 seconds and nanoseconds, accurate within 1/HZ.
2 seconds and nanoseconds, truncated to microseconds.
≥3 seconds and nanoseconds, maximum precision.

AUTHORS

This manual page was written by Chad David <Mt davidc@acns.ab.ca>.

VFS_TIMESTAMP (9) November 21, 2001

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.