Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pc_clock_settime

Proto:static int pc_clock_settime(clockid_t id, const struct timespec64 *ts)

Type:int

Parameter:

TypeParameterName
clockid_tid
const struct timespec64 *ts
293  err = get_clock_desc(id, & cd)
294  If err Then Return err
297  If (f_mode & le is open for writing ) == 0 Then
298  err = -EACCES
299  Go to out
302  If clock_settime Then err = clock_settime(clk, ts)
304  Else err = -EOPNOTSUPP
306  out :
307  put_clock_desc( & cd)
309  Return err