Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-28 10:46:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Get clock_realtime

Proto:static int posix_clock_realtime_get(clockid_t which_clock, struct timespec64 *tp)

Type:int

Parameter:

TypeParameterName
clockid_twhich_clock
struct timespec64 *tp
170  ktime_get_real_ts64 - Returns the time of day in a timespec64.*@ts: pointer to the timespec to be set* Returns the time of day in a timespec64 (WARN if suspended).
171  Return 0