Searched refs:open (Results 426 - 450 of 1624) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/ttymon/
H A Dtmhandler.c365 * also close all open ports so ttymon can start over
563 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){
564 log("open (%s) failed: %s", pmptr->p_device,
581 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){
582 log("open (%s) failed: %s", pmptr->p_device,
599 if ((fd=open(pmptr->p_device,O_RDWR|O_NONBLOCK)) == -1){
600 log("open (%s) failed: %s", pmptr->p_device,
629 * pcsync_close - For the child process close all open fd's except
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestStateMachine.java31 * methods before and after open(), compile(), enable(), go(), stop(),
58 System.out.println("open: " + consumer.isOpen());
66 System.out.println("before open");
72 exit(1, "compile before open");
77 exit(1, "compile before open");
83 exit(1, "enable before open");
88 exit(1, "enable before open");
94 exit(1, "getOption before open");
99 exit(1, "getOption before open");
103 exit(1, "setOption before open");
[all...]
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c130 if ((dcp->dc_dump_fd = open(dpath, O_RDWR)) == -1) {
131 warn(gettext("failed to open %s"), dpath);
135 if ((dcp->dc_conf_fd = open(fpath, O_RDWR | O_CREAT, DC_PERM)) == -1) {
137 * Attempt to open the file read-only.
139 if ((dcp->dc_conf_fd = open(fpath, O_RDONLY)) == -1) {
140 warn(gettext("failed to open %s"), fpath);
149 warn(gettext("failed to open stream for %s"), fpath);
313 * First try: open and fstat each swap entry. If either system
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c1657 fp = open(path, O_RDWR);
1687 fp = open(path, O_RDWR);
1716 fp = open(path, O_RDWR);
1744 fp = open(path, O_RDWR);
1772 fp = open(path, O_RDWR);
1800 fp = open(path, O_RDWR);
1828 fp = open(path, O_RDWR);
1857 fp = open(path, O_RDWR);
1886 fp = open(path, O_RDWR);
1914 fp = open(pat
[all...]
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/uscsi/
H A Duscsi.c63 if ((dp->fd = open(target_name, O_RDONLY)) < 0) {
64 (void) libscsi_error(hp, ESCSI_BADTARGET, "failed to open %s "
/illumos-gate/usr/src/lib/scsi/plugins/smp/usmp/common/
H A Dusmp.c99 if ((dp->ud_fd = open(target_name, O_RDONLY)) < 0) {
101 "failed to open %s for reading: %s",
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Darc4random.c99 fd = open("/dev/urandom", O_RDONLY);
/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c194 if ((fd = open("/dev/urandom", O_RDONLY)) == -1) {
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dlibdiskstatus.c78 if ((dsp->ds_fd = open(path, O_RDWR)) < 0) {
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c154 if ((fd = open(argv[1], O_RDONLY)) == -1)
155 errx(1, "could not open %s\n", argv[1]);
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshell.h243 # define open sh_open macro
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dcrypt.c89 * library, and open a session with a slot that supports
180 * library, and open a session with a slot that supports
228 fd = open("/dev/urandom", O_RDONLY);
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes.c56 #define getdesfd() (open("/dev/des", 0, 0))
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dalias.c100 fd = open(ap->devpaths->devpath, O_RDONLY|O_NDELAY);
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c72 if ((fd = open(cpuid_dev, O_RDONLY)) == -1)
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictlog.cc153 if (open() == FALSE) { // open log
/illumos-gate/usr/src/lib/libnsl/des/
H A Ddes_crypt.c48 #define getdesfd() (open("/dev/des", 0, 0))
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dulockf.c99 fd = open(name, O_RDONLY);
/illumos-gate/usr/src/lib/libproc/common/
H A DPscantext.c82 /* open the /proc/<pid>/map file */
85 if ((mapfd = open(mapfile, O_RDONLY)) < 0) {
86 dprintf("failed to open %s: %s\n", mapfile, strerror(errno));
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dexportent.c59 fd = open(TABFILE, O_CREAT, 0644);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_stat.c106 * created by open?
150 fd = open(path, O_RDONLY);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dtee.c180 if ((*hp = open(cp, oflag, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_bmc.c77 /* open /dev/ipmi0 */
78 if ((ibp->ib_fd = open(BMC_DEV, O_RDWR)) < 0) {
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c139 if ((filefd = open(reqfile, O_RDONLY)) == -1) {
144 /* open the request file */
532 if ((respfd = open(respfile, O_CREAT |O_RDWR | O_EXCL, 0600)) == -1) {
680 if ((fd = open(crlfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1)
754 if ((fd = open(certfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1)
/illumos-gate/usr/src/cmd/vgrind/
H A Dvgrindefs.c61 tf = open(filename, 0);

Completed in 156 milliseconds

<<11121314151617181920>>