logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vfs_timestamp — generate current timestamp

Authors

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

Debian                                          November 21, 2001                               VFS_TIMESTAMP(9)

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.

Name

       vfs_timestamp — generate current timestamp

Synopsis

#include<sys/param.h>#include<sys/vnode.h>voidvfs_timestamp(structtimespec*tsp);

See Also