Function report |
Source Code:fs\open.c |
Create Date:2022-07-28 20:01:00 |
Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:stream_open is used by subsystems that want stream-like file descriptors.* Such file descriptors are not seekable and don't have notion of position* (file.f_pos is always 0 and ppos passed to .read()/.write() is always NULL).
Proto:int stream_open(struct inode *inode, struct file *filp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct file * | filp |
1259 | f_mode &= ~( le is seekable | le can be accessed using pread | le can be accessed using pwrite | File needs atomic accesses to f_pos ) |
1260 | f_mode |= File is stream-like |
1261 | Return 0 |
Name | Describe |
---|---|
create_pipe_files | |
fifo_open |
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 |