vfs_timestamp.9freebsd

Langue: en

Version: 307731 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

vfs_timestamp - generate current timestamp

SYNOPSIS

In sys/param.h In sys/vnode.h Ft void Fn vfs_timestamp struct timespec *tsp

DESCRIPTION

The Fn vfs_timestamp function fills in Fa 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 An Chad David Aq davidc@acns.ab.ca .