Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 27) sorted by relevance

12

/libuv/test/
H A Dtest-tty.c74 ttyin_fd = open("/dev/tty", O_RDONLY, 0); in TEST_IMPL()
81 ttyout_fd = open("/dev/tty", O_WRONLY, 0); in TEST_IMPL()
355 fd = open("test/fixtures/empty_file", O_RDONLY); in TEST_IMPL()
365 fd = open("/dev/random", O_RDONLY); in TEST_IMPL()
372 fd = open("/dev/zero", O_RDONLY); in TEST_IMPL()
378 fd = open("/dev/tty", O_RDWR); in TEST_IMPL()
389 fd = open("/dev/tty", O_RDONLY); in TEST_IMPL()
400 fd = open("/dev/tty", O_WRONLY); in TEST_IMPL()
H A Dtest-osx-select.c57 fd = open("/dev/tty", O_RDONLY); in TEST_IMPL()
110 fd = open("/dev/tty", O_RDONLY); in TEST_IMPL()
H A Dtest-poll.c648 fd[0] = open(".", UV_FS_O_RDONLY);
658 fd[0] = open("test/fixtures/empty_file", UV_FS_O_RDONLY);
671 fd[0] = open(TEST_POLL_FIFO_PATH, O_RDONLY | O_NONBLOCK);
673 fd[1] = open(TEST_POLL_FIFO_PATH, O_WRONLY | O_NONBLOCK);
H A Dtest-handle-fileno.c41 return open("/dev/tty", O_RDONLY, 0); in get_tty_fd()
/libuv/docs/src/
H A Dguide.rst9 issue, or better yet, open a pull request!
H A Dconf.py21 with open('../../include/uv/version.h') as f:
H A Dfs.rst233 Equivalent to :man:`open(2)`.
556 …fhandle <https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/open-osfhandle?view=vs-2…
562 File open constants
587 If the path is not a directory, fail the open.
603 If the `O_CREAT` flag is set and the file already exists, fail the open.
609 block device is in use by the system (e.g., mounted), the open will fail
624 file cannot be open multiple times concurrently.
647 If the path is a symbolic link, fail the open.
H A Dtty.rst77 using :man:`ttyname_r(3)`, open it, and use it if the passed file descriptor
H A Derrors.rst180 too many open files
H A Dloop.rst99 has finished executing and all open handles and requests have been closed,
/libuv/
H A DMakefile.am184 test/test-fs-open-flags.c \
277 test/test-tcp-open.c \
285 test/test-tcp-write-to-half-open-connection.c \
320 test/test-udp-open.c \
H A DSUPPORTED_PLATFORMS.md32 **IMPORTANT**: Before attempting to add support for a new platform please open
H A DCMakeLists.txt559 test/test-fs-open-flags.c
651 test/test-tcp-open.c
664 test/test-tcp-write-to-half-open-connection.c
693 test/test-udp-open.c
H A DCONTRIBUTING.md25 In case of doubt, open an issue in the [issue tracker][], post your question
H A DLINKS.md7 * [CMake](https://cmake.org) open-source, cross-platform family of tools designed to build, test an…
H A DChangeLog2056 * unix: simplify open(O_CLOEXEC) feature detection (Ben Noordhuis)
2228 * unix,win: add uv_fs_{open,read,close}dir() (cjihrig)
2583 * test: fix warning in test-tcp-open (Santiago Gimeno)
2996 * unix,win: add fs open flags, map O_DIRECT|O_DSYNC (Joran Dirk Greef)
3929 * unix: add fork-safe open file function (Kári Tristan Helgason)
3957 * unix: use open(2) with O_CLOEXEC on OS X (Kári Tristan Helgason)
3975 * unix: open ttyname instead of /dev/tty (Enno Boland)
4408 * unix: open "/dev/null" instead of "/" for emfile_fd (Alan Rogers)
5197 * error: add ENXIO for O_NONBLOCK FIFO open() (Fedor Indutny)
5329 * error: add ENXIO for O_NONBLOCK FIFO open() (Fedor Indutny)
[all …]
/libuv/src/unix/
H A Dos390-syscalls.c405 fd = open("/dev/urandom", O_RDONLY); in mkdtemp()
H A Daix.c597 *fd = open(mon_file, O_CREAT|O_RDWR); in uv__setup_ahafs()
1017 fd = open(pp, O_RDONLY); in uv_resident_set_memory()
H A Dkqueue.c585 fd = open(handle->path, O_RDONLY); in uv_fs_event_start()
H A Dsunos.c629 fd = open("/proc/self/psinfo", O_RDONLY); in uv_resident_set_memory()
H A Dcore.c1048 fd = open(path, flags | O_CLOEXEC); in uv__open_cloexec()
1057 fd = open(path, flags); in uv__open_cloexec()
H A Dprocess.c340 use_fd = open("/dev/null", fd == 0 ? O_RDONLY : O_RDWR); in uv__process_child_init()
H A Dfs.c372 return open(req->path, req->flags | O_CLOEXEC, req->mode); in uv__fs_open()
379 r = open(req->path, req->flags, req->mode); in uv__fs_open()
/libuv/docs/src/guide/
H A Dfilesystem.rst36 `Unix flags <https://man7.org/linux/man-pages/man2/open.2.html>`_.
121 same patterns as the read/write/open calls, returning the result in the
H A Dprocesses.rst293 system used by open source desktop environments uses domain sockets for event

Completed in 67 milliseconds

12