Opens special and regular files or directories.
#include <sys/types.h> #include <sys/errno.h>
int fp_open (path, oflags, cmode, ext, segflag, fpp)
char *path;
unsigned oflags;
unsigned cmode;
int ext;
unsigned segflag;
struct file **fpp;
The fp_open kernel service provides a common service used by:
The fp_open kernel service can be called from the process environment only.
| 0 | Indicates a successful operation. |
Also, the fpp parameter points to an open file structure that is valid for use with the other Logical File System services. If an error occurs, one of the values from the /usr/include/sys/errno.h file is returned. The discussion of the open subroutine contains possible errno values.
The fp_open kernel service is part of Base Operating System (BOS) Runtime.
The open subroutine.
Logical File System Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.