suse man page for filp_open

Query: filp_open

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FILP_OPEN(9)							   The Linux VFS						      FILP_OPEN(9)

NAME
filp_open - open file and return file pointer
SYNOPSIS
struct file * filp_open(const char * filename, int flags, int mode);
ARGUMENTS
filename path to open flags open flags as per the open(2) second argument mode mode for the new file if O_CREAT is set, else ignored
DESCRIPTION
This is the helper to open a file from kernelspace if you really have to. But in generally you should not do this, so please move along, nothing to see here..
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 FILP_OPEN(9)
Related Man Pages
creat(2) - opensolaris
creat(2) - sunos
explain_open(3) - debian
flopen(3) - freebsd
flopen(3) - mojave
Similar Topics in the Unix Linux Community
Kernel module - Check whether file (/dev node) exists