Function report | 
Source Code:fs\select.c | 
Create Date:2022-07-28 20:07:03 | 
| Last Modify:2020-03-18 10:25:38 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:do_pselect
Proto:static long do_pselect(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, void __user *tsp, const sigset_t __user *sigmask, size_t sigsetsize, enum poll_time_type type)
Type:long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | n | |
| fd_set __user * | inp | |
| fd_set __user * | outp | |
| fd_set __user * | exp | |
| void __user * | tsp | |
| const sigset_t __user * | sigmask | |
| size_t | sigsetsize | |
| enum poll_time_type | type | 
| 733 | struct timespec64 ts, end_time, * to = NULL | 
| 736 | If tsp Then | 
| 738 | Case type == PT_TIMESPEC | 
| 739 | If get_timespec64( & ts, tsp) Then Return -EFAULT | 
| 741 | Break | 
| 742 | Case type == PT_OLD_TIMESPEC | 
| 743 | If get_old_timespec32( & ts, tsp) Then Return -EFAULT | 
| 745 | Break | 
| 746 | Default | 
| 747 | BUG() | 
| 760 | Return poll_select_finish( & end_time, tsp, type, ret) | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE6 | Most architectures can't handle 7-argument syscalls. So we provide a* 6-argument version where the sixth argument is a pointer to a structure* which has a pointer to the sigset_t itself followed by a size_t containing* the sigset size. | 
| 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  |