Function report |
Source Code:fs\file.c |
Create Date:2022-07-28 20:08:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Copy all file descriptors from the old table to the new, expanded table and* clear the extra space. Called with the files spinlock held for write.
Proto:static void copy_fdtable(struct fdtable *nfdt, struct fdtable *ofdt)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct fdtable * | nfdt | |
struct fdtable * | ofdt |
79 | memcpy( current fd array , current fd array , cpy) |
80 | memset((char * ) current fd array + cpy, 0, set) |
Name | Describe |
---|---|
expand_fdtable | Expand the file descriptor table.* This function will allocate a new fdtable and both fd array and fdset, of* the given size.* Return <0 error code on error; 1 on successful completion. |
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 |