Home
last modified time | relevance | path

Searched refs:_open (Results 1 – 25 of 57) sorted by relevance

123

/freebsd-12-stable/lib/libc/gen/
Dpututxline.c52 fd = _open(file, O_CREAT|O_RDWR|O_EXLOCK|O_CLOEXEC, 0644); in futx_open()
186 fd = _open(_PATH_UTX_ACTIVE, O_CREAT|O_RDWR|O_TRUNC, 0644); in utx_active_init()
243 fd = _open(_PATH_UTX_LASTLOGIN, O_RDWR|O_CLOEXEC, 0644); in utx_lastlogin_upgrade()
277 fd = _open(_PATH_UTX_LOG, O_CREAT|O_WRONLY|O_APPEND|O_CLOEXEC, 0644); in utx_log_add()
Ddaemon.c101 nullfd = _open(_PATH_DEVNULL, O_RDWR, 0); in daemon()
106 chdirfd = _open("/", O_EXEC); in daemon()
Dfts-compat.c221 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in __fts_open_44bsd()
346 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in __fts_read_44bsd()
438 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in __fts_read_44bsd()
574 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in __fts_children_44bsd()
1155 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_safe_changedir()
Dfts-compat11.c211 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in freebsd11_fts_open()
336 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in freebsd11_fts_read()
429 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in freebsd11_fts_read()
568 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in freebsd11_fts_children()
1132 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY | in fts_safe_changedir()
Dfts.c208 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_open()
333 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in fts_read()
426 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in fts_read()
565 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_children()
1127 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY | in fts_safe_changedir()
Dsem_new.c181 fd = _open(path, flags | O_RDWR | O_CLOEXEC | in _sem_open()
213 fd = _open(path, flags | O_RDWR | O_CLOEXEC | O_EXLOCK, mode); in _sem_open()
/freebsd-12-stable/contrib/file/python/
Dmagic.py70 _open = _libraries['magic'].magic_open variable
71 _open.restype = magic_t
72 _open.argtypes = [c_int]
275 magic_t = _open(flags)
/freebsd-12-stable/lib/libc/x86/sys/
D__vdso_gettc.c234 (fd = _open(devname, O_RDONLY)) == -1) { in __vdso_init_hpet()
270 fd = _open(HYPERV_REFTSC_DEVPATH, O_RDONLY); in __vdso_init_hyperv_tsc()
359 (fd = _open("/dev/" PVCLOCK_CDEVNAME, O_RDONLY | O_CLOEXEC)) < 0) in __vdso_init_pvclock_timeinfos()
/freebsd-12-stable/lib/libc/stdio/
Dfreopen.c155 f = _open(file, oflags, DEFFILEMODE); in freopen()
162 f = _open(file, oflags, DEFFILEMODE); in freopen()
Dfopen.c64 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
Dmktemp.c174 _open(path, O_CREAT|O_EXCL|O_RDWR|oflags, 0600)) >= in _gettemp()
/freebsd-12-stable/contrib/libpcap/testprogs/
Dunix.h46 #define open _open
/freebsd-12-stable/lib/libc/gmon/
Dgmon.c160 fd = _open(outname, O_CREAT|O_TRUNC|O_WRONLY|O_CLOEXEC, 0666); in _mcleanup()
166 log = _open("gmon.log", O_CREAT|O_TRUNC|O_WRONLY|O_CLOEXEC, 0664); in _mcleanup()
/freebsd-12-stable/lib/libc/iconv/
Dcitrus_mmap.c64 if ((fd = _open(path, O_RDONLY | O_CLOEXEC)) == -1) in _citrus_map_file()
/freebsd-12-stable/contrib/ntp/sntp/libopts/compat/
Dwindows-config.h93 #define open _open
/freebsd-12-stable/contrib/gcclibs/libiberty/
Dpex-win32.c122 return _open (name, _O_RDONLY | (binary ? _O_BINARY : _O_TEXT)); in pex_win32_open_read()
133 return _open (name, in pex_win32_open_write()
630 int fd = _open (executable, _O_RDONLY); in spawn_script()
/freebsd-12-stable/contrib/libarchive/libarchive/test/
Dtest_read_large.c33 #define open _open
Dtest_read_data_large.c37 #define open _open
Dtest_open_fd.c29 #define open _open
/freebsd-12-stable/lib/libc/locale/
Dldpart.c93 if ((fd = _open(filename, O_RDONLY | O_CLOEXEC)) < 0) in __part_load_locale()
/freebsd-12-stable/sys/contrib/zlib/
Dgzguts.h47 # define open _open
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/
Dgzguts.h52 # define open _open
/freebsd-12-stable/crypto/openssl/crypto/bio/
Dbio_local.h175 # define UP_open _open
/freebsd-12-stable/crypto/openssl/
De_os.h312 # define open _open
/freebsd-12-stable/contrib/jemalloc/include/jemalloc/
Djemalloc_FreeBSD.h141 #define open _open

123