/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmhandler.c | 365 * 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 D | TestStateMachine.java | 31 * 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 D | dconf.c | 130 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 D | psvcobj.c | 1657 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 D | uscsi.c | 63 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 D | usmp.c | 99 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 D | arc4random.c | 99 fd = open("/dev/urandom", O_RDONLY);
|
/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/ |
H A D | bsdmd5.c | 194 if ((fd = open("/dev/urandom", O_RDONLY)) == -1) {
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | libdiskstatus.c | 78 if ((dsp->ds_fd = open(path, O_RDWR)) < 0) {
|
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/ |
H A D | dump.c | 154 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 D | shell.h | 243 # define open sh_open macro
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | crypt.c | 89 * 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 D | des.c | 56 #define getdesfd() (open("/dev/des", 0, 0))
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | alias.c | 100 fd = open(ap->devpaths->devpath, O_RDONLY|O_NDELAY);
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_cmd.c | 72 if ((fd = open(cpuid_dev, O_RDONLY)) == -1)
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_dictlog.cc | 153 if (open() == FALSE) { // open log
|
/illumos-gate/usr/src/lib/libnsl/des/ |
H A D | des_crypt.c | 48 #define getdesfd() (open("/dev/des", 0, 0))
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | ulockf.c | 99 fd = open(name, O_RDONLY);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pscantext.c | 82 /* 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 D | exportent.c | 59 fd = open(TABFILE, O_CREAT, 0644);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _stat.c | 106 * created by open? 150 fd = open(path, O_RDONLY);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | tee.c | 180 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 D | ipmi_bmc.c | 77 /* open /dev/ipmi0 */ 78 if ((ibp->ib_fd = open(BMC_DEV, O_RDWR)) < 0) {
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 139 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 D | vgrindefs.c | 61 tf = open(filename, 0);
|