table of contents
other versions
- stretch 4.9.168-1
CURRENT_TIME(9) | The Linux VFS | CURRENT_TIME(9) |
NAME¶
current_time - Return FS timeSYNOPSIS¶
struct timespec current_time(struct inode * inode);
ARGUMENTS¶
inodeinode.
DESCRIPTION¶
Return the current time truncated to the time granularity supported by the fs.Note that inode and inode->sb cannot be NULL. Otherwise, the function warns and returns time without truncation.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |