Searched refs:open (Results 151 - 175 of 1624) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dattropen.c91 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) {
H A Dgetauxv.c66 if ((fd = open("/proc/self/auxv", O_RDONLY)) != -1 &&
H A Dmkstemp.c101 if ((fd = open(as, O_CREAT|O_EXCL|O_RDWR|flags,
/illumos-gate/usr/src/lib/libmail/common/
H A Dnotifyu.c84 if ((fd = open(dev, O_WRONLY|O_NOCTTY)) == -1) {
86 "Cannot open %s.\n", dev);
H A Dxgetenv.c97 infd = open(xfile, O_RDONLY);
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dexhaust.c57 fd = open("/dev/zero", O_RDONLY);
60 perror("open");
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dinit.c61 if ((fd = open(MDESC_PATH, O_RDONLY, 0)) < 0)
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.badfreopen.ksh42 * ...so stdout should still be open here.
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestProbeData.java101 consumer.open();
/illumos-gate/usr/src/cmd/acct/
H A Daccton.c84 if ((fd = open(admfile, O_RDONLY|O_CREAT, 0644)) == ERR) {
/illumos-gate/usr/src/cmd/avs/rdc/
H A Drdc_ioctl.c48 int fd = open(__rdc_dev, O_RDONLY);
/illumos-gate/usr/src/cmd/captoinfo/
H A Dotermcap.c147 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 Ddaemon.c72 * 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 Dprobe-acpi.c57 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 Dload_hashnode.c35 hashfd = open(IPLOOKUP_NAME, O_RDWR);
H A Dload_pool.c33 poolfd = open(IPLOOKUP_NAME, O_RDWR);
H A Dload_poolnode.c32 poolfd = open(IPLOOKUP_NAME, O_RDWR);
H A Dremove_hashnode.c28 hashfd = open(IPLOOKUP_NAME, O_RDWR);
H A Dremove_poolnode.c28 poolfd = open(IPLOOKUP_NAME, O_RDWR);
/illumos-gate/usr/src/cmd/srptsvc/
H A Dsrptsvc.c69 fd = open(SRPT_NODE, O_RDONLY);
74 gettext("Could not open SRP Target pseudodevice"),
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c94 /* 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 Dhunt.c44 * 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 Dthreadsappend.c57 * 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 DSun_fcAdapterCreateWWN.cc41 int fd = open("/dev/urandom", O_RDONLY);
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/
H A Ddevname2devid.c74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) {

Completed in 395 milliseconds

1234567891011>>