Function report |
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 activity | Download SCCT | Chinese |
Name:pc_clock_settime
Proto:static int pc_clock_settime(clockid_t id, const struct timespec64 *ts)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
clockid_t | id | |
const struct timespec64 * | ts |
293 | err = get_clock_desc(id, & cd) |
297 | If (f_mode & le is open for writing ) == 0 Then |
302 | If clock_settime Then err = clock_settime(clk, ts) |
304 | Else err = -EOPNOTSUPP |
306 | out : |
307 | put_clock_desc( & cd) |
309 | Return err |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |