1FILP_OPEN(9) The Linux VFS FILP_OPEN(9)
2
3
4
6 filp_open - open file and return file pointer
7
9 struct file * filp_open(const char * filename, int flags, int mode);
10
12 filename
13 path to open
14
15 flags
16 open flags as per the open(2) second argument
17
18 mode
19 mode for the new file if O_CREAT is set, else ignored
20
22 This is the helper to open a file from kernelspace if you really have
23 to. But in generally you should not do this, so please move along,
24 nothing to see here..
25
27Kernel Hackers Manual 2.6. November 2011 FILP_OPEN(9)