open 77 bsp/drv/dev/base/cons.c return consdev->devops->open(dev, mode);
open 54 include/sys/device.h int (*open) (device_t, int);
open 132 include/sys/fcntl.h int open(const char *, int, ...);
open 323 sys/kern/device.c ASSERT(ops->open != NULL);
open 324 sys/kern/device.c error = (*ops->open)(dev, mode);
open 79 usr/bin/cat/cat.c else if ((fd = open(*argv, O_RDONLY, 0)) < 0) {
open 147 usr/bin/cp/cp.c if ((fold = open(from, O_RDONLY)) == -1) {
open 103 usr/bin/sh/cmds.c open("/dev/tty", O_RDONLY);
open 152 usr/bin/sh/sh.c open("/dev/null", O_RDWR);
open 236 usr/bin/sh/sh.c fd = open(file, O_WRONLY | O_APPEND);
open 240 usr/bin/sh/sh.c fd = open(file, O_RDONLY);
open 479 usr/bin/sh/sh.c input = open(argv[1], O_RDONLY);
open 103 usr/bin/touch/touch.c if ((fd = open(file, 2)) < 0)
open 162 usr/lib/libc/gen/fts.c if (!ISSET(FTS_NOCHDIR) && (sp->fts_rfd = open(".", O_RDONLY, 0)) < 0)
open 285 usr/lib/libc/gen/fts.c if ((p->fts_symfd = open(".", O_RDONLY, 0)) < 0) {
open 375 usr/lib/libc/gen/fts.c open(".", O_RDONLY, 0)) < 0) {
open 512 usr/lib/libc/gen/fts.c if ((fd = open(".", O_RDONLY, 0)) < 0)
open 53 usr/lib/libc/stdio/fopen.c if ((f = open(file, oflags, DEFFILEMODE)) < 0) {
open 88 usr/lib/libc/stdio/freopen.c f = open(file, oflags, DEFFILEMODE);
open 94 usr/lib/libc/stdio/freopen.c f = open(file, oflags, DEFFILEMODE);
open 96 usr/lib/libc/stdio/mktemp.c open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0)
open 38 usr/lib/posix/file/creat.c return open(file, O_WRONLY | O_CREAT | O_TRUNC, mode);
open 42 usr/lib/posix/time/gettimeofday.c if ((fd = open("/dev/rtc", 0)) < 0) {
open 85 usr/sbin/init/init.c open(ctty, O_RDWR); /* stdin */
open 128 usr/sbin/install/install.c if ((fold = open(from, O_RDONLY)) == -1)
open 244 usr/server/boot/boot.c if ((fold = open(src, O_RDONLY)) == -1)
open 346 usr/server/exec/exec_elf.c if ((fd = open(exec->path, O_RDONLY)) == -1)
open 451 usr/server/exec/exec_execve.c if ((fd = open(path, O_RDONLY)) == -1)
open 65 usr/test/fifo/fifo.c fd1 = open("/mnt/fifo/test", O_RDONLY);
open 84 usr/test/fifo/fifo.c fd2 = open("/mnt/fifo/test", O_WRONLY);
open 57 usr/test/fileio/fileio.c if ((fd = open(WRITE_TARGET, O_CREAT|O_RDWR, 0)) < 0)
open 75 usr/test/fileio/fileio.c if ((fd = open(READ_TARGET, O_RDONLY, 0)) < 0)
open 106 usr/test/fileio/fileio.c if ((fd = open(READ_TARGET, O_RDONLY, 0)) < 0)
open 120 usr/test/fileio/fileio.c if ((fd = open(READ_TARGET, O_RDONLY, 0)) < 0)
open 160 usr/test/fileio/fileio.c open("/dev/tty", O_RDWR); /* stdin */
open 50 usr/test/signal/signal.c if ((ttyfd = open("/dev/tty", O_RDWR)) == -1) {