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:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:posix_clock_read

Proto:static ssize_t posix_clock_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *fp
char __user *buf
size_tcount
loff_t *ppos
42  clk = Returns NULL if the posix_clock instance attached to 'fp' is old and stale.
43  err = -EINVAL
45  If Not clk Then Return -ENODEV
48  If read Then err = read(clk, f_flags, buf, count)
51  put_posix_clock(clk)
53  Return err