GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

     vfs_timestamp — generate current timestamp

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 ⟨davidc@acns.ab.ca⟩.



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.167 seconds. Last modified: November 04 2018 12:49:43.