Function report |
Source Code:fs\file.c |
Create Date:2022-07-28 20:08:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ksys_dup3
Proto:static int ksys_dup3(unsigned int oldfd, unsigned int newfd, int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | oldfd | |
unsigned int | newfd | |
int | flags |
918 | If Value for the false possibility is greater at compile time(oldfd == newfd) Then Return -EINVAL |
921 | If newfd >= rlimit(RLIMIT_NOFILE) Then Return -EBADF |
927 | If Value for the false possibility is greater at compile time(!file) Then Go to Ebadf |
929 | If Value for the false possibility is greater at compile time(err < 0) Then |
932 | Go to out_unlock |
936 | Ebadf : |
938 | out_unlock : |
940 | Return err |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | |
SYSCALL_DEFINE2 |
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 |