Searched refs:open (Results 926 - 950 of 1624) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c148 fd = open(MD_DEVICE, O_RDONLY);
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dsetup.c135 if ((fd = open(filename, 0)) < 0)
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dsetup.c177 if ((fd = open(filename, 0)) < 0) {
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp.c432 (ndmp_door_fildes = open(NDMP_DOOR_SVC, O_RDONLY)) < 0) {
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgtrans.c122 extern int ds_fd; /* open file descriptor for data stream WHERE? */
944 ds_fd = open(device, 1);
975 if ((list_fd = open(tmp_file, O_RDWR | O_CREAT, 0644)) == -1) {
1484 if ((ds_fd = open(dstdev.cdevice, O_WRONLY)) < 0) {
1657 if ((ds_fd = open(dstdev.cdevice, 1)) < 0) {
/illumos-gate/usr/src/lib/libproject/common/
H A Dsetproject.c449 if ((fd = open("/dev/pool", O_RDONLY)) < 0)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetxby_door.c65 * 1) Never use 0,1 or 2; if we get this from the open
210 * If it's not open, attempt to open or error
211 * If it's open attempt to validate.
213 * Other wise it open and validated, return success
233 * the first time in we try and open and validate the front door.
249 if (dp->doorfd == -1 && dp == &nsc_door[0]) { /* open front door */
531 /* unexpected open alt door - clean up, continue */
554 /* doorfd bad, or must not really be open */
721 if ((fd = open(fnam
[all...]
/illumos-gate/usr/src/cmd/unpack/
H A Dunpack.c349 if ((infile = open(filename, O_RDONLY)) == -1) {
351 "%s: %s: cannot open: "),
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vget.c37 * Input routines for open/visual.
458 * to do this for open modes now; return and save for later
851 ftfd = open(ftname, 0);
856 if (ftfd <= 0) { /* Couldn't open a /dev/ft? */
/illumos-gate/usr/src/cmd/who/
H A Dwho.c415 if ((fildes = open("/etc/inittab",
418 gettext("%s: Cannot open /etc/inittab"), program);
847 gettext("%s: Cannot open file '%s'"), program, name);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_init.c82 dev = open(dname, O_RDWR | O_NDELAY);
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c423 if ((infile = open(filename, 0)) < 0) {
425 "pack: %s: cannot open: "), filename);
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c488 if ((fd = open(file, O_RDONLY)) >= 0) {
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c176 (void) fprintf(stderr, "%s: cannot open /proc directory\n",
194 if ((procfd = open(pname, O_RDONLY)) == -1)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c577 if ((s = open(dev, O_RDONLY)) < 0) {
578 (void) fprintf(stderr, "%s: couldn't open ", progname);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c82 if ((fd = open("/dev/udp", O_RDONLY)) < 0) {
321 error_msg(gettext("Failed to open transport %s for "
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c191 int t = open("/dev/tty", 2);
H A Dsyncloop.c169 dfd = open(dnambuf, O_RDWR);
171 (void) fprintf(stderr, "syncloop: cannot open %s\n", dnambuf);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.sem.c441 (void) open("/dev/null", 0); /* no need for setfd */
H A Dsh.tchar.c360 * creat() and open() replacement.
388 fd = open((char *)chbuf, flags, mode);
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_handle.c134 fd = open(_ENCODING_ALIAS_PATH, O_RDONLY);
/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c346 if ((prom_fd = open(promdev, oflag)) < 0) {
352 exit(_error(PERROR, "cannot open %s", promdev));
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_sysevent.c228 * open and query /dev/dump to determine the current dump device.
231 if ((fd = open("/dev/dump", O_RDONLY)) == -1) {
232 fmd_hdl_error(hdl, "failed to open /dev/dump "
258 fmd_hdl_error(hdl, "failed to open dump transport %s "
508 * Once the transport is open, install a single timer to fire at once
512 fmd_hdl_debug(hdl, "transport '%s' open\n", sysev_channel);
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_dp.c398 if ((fd = open("/dev/mem", O_RDONLY)) < 0)
/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c159 * First attempt to open the device. If if fails, skip it.
161 if ((mfd = open(raw_device, O_RDWR | O_NDELAY)) < 0) {
589 err_print("Unable to open mount table.\n");
710 err_print("Unable to open mount table.\n");

Completed in 139 milliseconds

<<31323334353637383940>>