Lines Matching defs:openMode
662 open_file(const char *path, int openMode, int perms)
669 if (!(openMode & O_CREAT))
674 if (exists && S_ISLNK(st.st_mode) && (openMode & O_NOTRAVERSE) != 0) {
685 openMode &= ~O_NOTRAVERSE;
686 int newFD = open(path, openMode, perms);
702 _kern_open(int fd, const char *path, int openMode, int perms)
710 return open_file(realPath.c_str(), openMode, perms);
716 int openMode, int perms)
724 return open_file(realPath.c_str(), openMode, perms);
1529 _haiku_build_open(const char* path, int openMode, mode_t permissions)
1531 return _haiku_build_openat(AT_FDCWD, path, openMode, permissions);
1536 _haiku_build_openat(int fd, const char* path, int openMode, mode_t permissions)
1543 RETURN_AND_SET_ERRNO(_kern_open(fd, path, openMode, permissions));