/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | attropen.c | 91 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) {
|
H A D | getauxv.c | 66 if ((fd = open("/proc/self/auxv", O_RDONLY)) != -1 &&
|
H A D | mkstemp.c | 101 if ((fd = open(as, O_CREAT|O_EXCL|O_RDWR|flags,
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | notifyu.c | 84 if ((fd = open(dev, O_WRONLY|O_NOCTTY)) == -1) { 86 "Cannot open %s.\n", dev);
|
H A D | xgetenv.c | 97 infd = open(xfile, O_RDONLY);
|
/illumos-gate/usr/src/lib/libmtmalloc/tests/ |
H A D | exhaust.c | 57 fd = open("/dev/zero", O_RDONLY); 60 perror("open");
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | init.c | 61 if ((fd = open(MDESC_PATH, O_RDONLY, 0)) < 0)
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.badfreopen.ksh | 42 * ...so stdout should still be open here.
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestProbeData.java | 101 consumer.open();
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | accton.c | 84 if ((fd = open(admfile, O_RDONLY|O_CREAT, 0644)) == ERR) {
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | rdc_ioctl.c | 48 int fd = open(__rdc_dev, O_RDONLY);
|
/illumos-gate/usr/src/cmd/captoinfo/ |
H A D | otermcap.c | 147 tf = open(E_TERMCAP, 0); 150 tf = open(cp, 0); 153 tf = open(E_TERMCAP, 0); 155 tf = open(E_TERMCAP, 0);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | daemon.c | 72 * We need to do this before we open the pipe - it makes things 122 if ((fd = open("/dev/null", O_RDWR)) >= 0) {
|
/illumos-gate/usr/src/cmd/hal/probing/acpi/ |
H A D | probe-acpi.c | 57 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { 58 HAL_DEBUG(("Cannot open %s: %s", device_file, strerror(errno)));
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | load_hashnode.c | 35 hashfd = open(IPLOOKUP_NAME, O_RDWR);
|
H A D | load_pool.c | 33 poolfd = open(IPLOOKUP_NAME, O_RDWR);
|
H A D | load_poolnode.c | 32 poolfd = open(IPLOOKUP_NAME, O_RDWR);
|
H A D | remove_hashnode.c | 28 hashfd = open(IPLOOKUP_NAME, O_RDWR);
|
H A D | remove_poolnode.c | 28 poolfd = open(IPLOOKUP_NAME, O_RDWR);
|
/illumos-gate/usr/src/cmd/srptsvc/ |
H A D | srptsvc.c | 69 fd = open(SRPT_NODE, O_RDONLY); 74 gettext("Could not open SRP Target pseudodevice"),
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 94 /* open source file for reading */ 96 srcFd = open(a_srcPath, O_RDONLY, 0); 110 /* open target file for writing */ 112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, 132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, 143 * source and target files are open: copy data 187 * Arguments: int srcFd - file descriptor open on source file 188 * int dstFd - file descriptor open on target file 407 * Description: open a file and assure that the descriptor returned is open o [all...] |
/illumos-gate/usr/src/cmd/tip/ |
H A D | hunt.c | 44 * order to get an open file descriptor placed in FD. 45 * Otherwise, as for a DN-11, the open will have to 46 * be done in the "open" routine. 55 if ((FD = open(cp, O_RDWR)) < 0 && errno != EBUSY) {
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/threadsappend/ |
H A D | threadsappend.c | 57 * the suggestion was to open the file with O_APPEND, but that wouldn't 108 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); 112 "open(%s, O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777)" 114 perror("open");
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcAdapterCreateWWN.cc | 41 int fd = open("/dev/urandom", O_RDONLY);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/ |
H A D | devname2devid.c | 74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) {
|