Function report |
Source Code:fs\signalfd.c |
Create Date:2022-07-28 20:19:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns a multiple of the size of a "struct signalfd_siginfo", or a negative* error code. The "count" parameter must be at least the size of a* "struct signalfd_siginfo".
Proto:static ssize_t signalfd_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
char __user * | buf | |
size_t | count | |
loff_t * | ppos |
217 | nonblock = f_flags & O_NONBLOCK |
218 | total = 0 |
221 | count /= sizeof(structsignalfd_siginfo) |
226 | Do |
227 | ret = signalfd_dequeue(ctx, & info, nonblock) |
228 | If Value for the false possibility is greater at compile time(ret <= 0) Then Break |
231 | If ret < 0 Then Break |
233 | siginfo++ |
235 | nonblock = 1 |
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 |