Lines Matching defs:oflag
722 open$__interposed__ (const char *path, int oflag, int mode)
730 if (oflag & O_CREAT)
732 fd = ::open (path, oflag, mode);
733 description_sp->printf("pid=%i: open (path = '%s', oflag = %i, mode = %i) -> fd=%i", pid, path, oflag, mode, fd);
737 fd = ::open (path, oflag);
738 description_sp->printf("pid=%i: open (path = '%s', oflag = %i) -> fd=%i", pid, path, oflag, fd);
750 return ::open (path, oflag, mode);
758 open$NOCANCEL$__interposed__ (const char *path, int oflag, int mode)
764 const int fd = ::open$NOCANCEL (path, oflag, mode);
766 StringSP description_sp(new String ("pid=%i: open$NOCANCEL (path = '%s', oflag = %i, mode = %i) -> fd=%i", pid, path, oflag, mode, fd));
775 return ::open$NOCANCEL (path, oflag, mode);
784 __open_extended$__interposed__ (const char *path, int oflag, uid_t uid, gid_t gid, int mode, struct kauth_filesec *fsacl)
790 const int fd = ::__open_extended (path, oflag, uid, gid, mode, fsacl);
792 StringSP description_sp(new String ("pid=%i: __open_extended (path='%s', oflag=%i, uid=%i, gid=%i, mode=%i, fsacl=%p) -> fd=%i", pid, path, oflag, uid, gid, mode, fsacl, fd));
801 return ::__open_extended (path, oflag, uid, gid, mode, fsacl);
834 shm_open$__interposed__ (const char *path, int oflag, int mode)
840 const int fd = ::shm_open (path, oflag, mode);
842 StringSP description_sp(new String ("pid=%i: shm_open (path = '%s', oflag = %i, mode = %i) -> fd=%i", pid, path, oflag, mode, fd));
851 return ::shm_open (path, oflag, mode);