Searched refs:open (Results 326 - 350 of 1624) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfabric-xlate.c63 fd = open(XMLTOPOFILE, O_RDWR | O_CREAT | O_EXCL, 0600);
72 fmd_hdl_debug(hdl, "Failed to open XML topo file\n");
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Dmain.c163 if ((fd = open(ofile, (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c134 if ((fd = open(MSG_ORIG(MSG_FMT_PROCSELF), O_RDONLY)) < 0)
201 if ((fd = open(Profile, (O_RDWR | O_CREAT), 0666)) == -1) {
504 fd = open(Profile, O_RDWR, 0);
562 fd = open(Profile, O_RDWR, 0);
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dacom.c29 * modify a ELF file. This program will open an ELF file and
187 if ((fd = open(elf_fname, O_RDWR)) == -1) {
188 perror("open");
193 * Attempt to open an Elf descriptor Read/Write
H A Dpcom.c29 * read an ELF file. pcom will open an ELF file using
185 if ((fd = open(elf_fname, O_RDONLY)) == -1) {
186 perror("open");
191 * Attempt to open an Elf descriptor Read/Write
/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A Dnlist.c140 if ((fd = open(name, 0)) < 0)
/illumos-gate/usr/src/cmd/bnu/
H A Ddkdial.c112 ** Do an alarm protected open of the dial device
117 if ((fd = open(dial_dev, O_RDWR)) < 0) {
120 fprintf(stderr, "dkdial: Can't open %s\n", dial_dev);
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_ioctl.c266 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) {
267 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"),
348 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) {
349 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"),
462 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) {
463 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"),
547 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) {
548 cryptoerror(LOG_STDERR, gettext("failed to open %s: %s"),
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dprint.c111 file = open(filename, O_RDONLY, 0);
113 smb_error("could not open file %s\n", errno, filename);
198 smb_error("could not open print job", error);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_hx.c40 tfd = open(fname, O_RDONLY);
H A Dipft_sn.c65 else if ((fd = open(fname, O_RDONLY)) == -1)
H A Dipft_td.c67 tfd = open(fname, O_RDONLY);
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dmain.c90 * - an error message if it can't open an object file
187 if ((fd = open(argv[optind], O_RDONLY)) == -1) {
188 error(fname, "cannot open");
194 /* error(fname, "cannot open"); */
/illumos-gate/usr/src/cmd/spell/
H A Dhashlook.c119 if (open(file, 0) != 0)
/illumos-gate/usr/src/cmd/svc/configd/
H A Dmaindoor.c172 fd = open(doorpath, O_RDWR | O_CREAT | O_EXCL, 0644);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c282 (void) open("/dev/null", O_RDONLY);
287 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND,
307 if ((fd = open(path, O_RDONLY, 0644)) == -1)
338 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND,
345 log_error(LOG_NOTICE, "Could not log for %s: open(%s) "
686 log_error(LOG_WARNING, "can't open logfile %s/%s",
/illumos-gate/usr/src/cmd/ldap/common/
H A Detest.c54 if (( sb.sb_sd = open( "lber-test", O_WRONLY|O_CREAT|O_TRUNC|O_BINARY ))
56 perror( "open" );
/illumos-gate/usr/src/cmd/tcpd/
H A Dsafe_finger.c158 * are already open. All kinds of mysterious things will happen if that
164 if (fstat(i, &st) == -1 && open("/dev/null", 2) != i)
165 perror_exit("open /dev/null");
/illumos-gate/usr/src/cmd/tip/
H A Dtipout.c134 if ((fd = open(DV, O_RDWR)) >= 0) {
/illumos-gate/usr/src/cmd/tsol/plabel/
H A Dplabel.c154 if ((fd = open(procname, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/ttymon/
H A Dttymon.c194 Maxfiles = (int)ulimit(4, 0L); /* get max number of open files */
210 log("max open files = %d", Maxfiles);
250 /* open the devices ttymon monitors */
271 * open_all - open devices in pmtab if the entry is
359 if ((fd = open(pmptr->p_device, O_RDONLY|O_NONBLOCK|O_NOCTTY)) < 0) {
360 log("open (%s) failed: %s", pmptr->p_device, strerror(errno));
373 * open_device(pmptr) - open the device
394 if ((fd = open(pmptr->p_device, O_RDWR)) == -1)
395 fatal("open (%s) failed: %s", pmptr->p_device,
405 if (pmptr->p_fd > 0) { /* file already open */
[all...]
/illumos-gate/usr/src/tools/ctf/ctfstrip/
H A Dctfstrip.c73 fd = open(filename, O_RDONLY);
75 warn("Unable to open %s", filename);
/illumos-gate/usr/src/tools/onbld/hgext/
H A Dcdm.py390 fh = open(f, 'r')
424 fh = open(f, 'r')
470 fh = open(f, 'r')
504 fh = open(f, 'r')
538 fh = open(f, 'r')
573 fh = open(f, 'r')
603 fh = open(f, 'r')
755 fh = open(f, 'r')
1124 fp = open(path)
/illumos-gate/usr/src/ucblib/libdbm/
H A Ddbm.c72 pagf = open(pagbuf, 2);
74 pagf = open(pagbuf, 0);
85 dirf = open(pagbuf, 2);
87 dirf = open(pagbuf, 0);
91 (void) printf("cannot open database %s\n", file);
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dfopen.c77 fd = open64(file, oflag, 0666); /* mapped to open() for V9 */
79 fd = open(file, oflag, 0666);

Completed in 167 milliseconds

<<11121314151617181920>>