Searched refs:open (Results 26 - 50 of 1624) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/csu/common/
H A Dalloc_pbuf.c38 if((fd = open("/dev/zero",O_RDONLY)) == -1 ) {
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstat.c46 fd = open(str, O_RDONLY);
/illumos-gate/usr/src/head/
H A Dfcntl.h77 #pragma redefine_extname open open64
89 #define open open64 macro
105 #pragma redefine_extname open64 open
117 #define open64 open
132 extern int open(const char *, int, ...);
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Ddiffdb.c27 db1 = open(argv[1], O_RDONLY);
29 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[1]);
32 db2 = open(argv[2], O_RDONLY);
34 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[2]);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/speculation/
H A Dtst.NoSpecBuffer.d44 syscall::open:entry
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dsetsid.c63 if ((fd = open("/dev/tty", O_RDONLY)) >= 0)
/illumos-gate/usr/src/cmd/localedef/
H A Dmkwidths.py41 lines = open("UTF-8.cm").readlines()
55 for line in open(filename).readlines():
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestClose.java39 consumer.open();
59 consumer.open();
H A DTestAbort.java44 consumer.open();
72 consumer.open();
97 consumer.open();
124 consumer.open();
H A DTestMaxConsumers.java65 consumers[i].open();
72 consumers[i].open();
81 consumer.open();
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_create.c32 * open the file and return a fid. The file is specified using a
38 struct open_param *op = &sr->arg.open;
41 bzero(op, sizeof (sr->arg.open));
81 struct open_param *op = &sr->arg.open;
84 bzero(op, sizeof (sr->arg.open));
123 struct open_param *op = &sr->arg.open;
127 bzero(op, sizeof (sr->arg.open));
151 struct open_param *op = &sr->arg.open;
182 struct open_param *op = &sr->arg.open;
H A Dsmb_nt_create_andx.c27 * This command is used to create or open a file or directory.
38 * This command is used to create or open a file or directory.
52 * 0x08 - Target of open must be
54 * ULONG RootDirectoryFid; If non-zero, open is relative to
68 * STRING Name[]; File to open or create
85 * FILE_SHARE_READ 0x00000001 Other open operations can be performed on
87 * FILE_SHARE_WRITE 0x00000002 Other open operations can be performed on
89 * FILE_SHARE_DELETE 0x00000004 Other open operations can be performed on
104 * open the file with at least GENERIC_WRITE access. The
171 struct open_param *op = &sr->arg.open;
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtypeahead.c85 * for the open file (by file pointer, i mean a unix kernal file
104 * open(tty, O_RDONLY | O_NDELAY) : -1;
107 if ((cur_term->_check_fd = open("/dev/tty", O_RDONLY |
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dtruncate.c47 if ((fd = open(path, O_WRONLY)) == -1) {
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dtruncate.c44 if ((fd = open(path, O_WRONLY)) == -1) {
/illumos-gate/usr/src/cmd/svc/startd/
H A Dproc.c48 fd = open("/proc/self/psinfo", O_RDONLY);
/illumos-gate/usr/src/test/zfs-tests/cmd/dir_rd_update/
H A Ddir_rd_update.c77 testdd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC);
79 (void) printf("%s: open(<%s>, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC)"
87 int fd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC);
101 int fd = open(dirpath, O_RDONLY);
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h52 /* Flag values accessible to open(2) and fcntl(2) */
53 /* (The first three can only be set by open) */
67 /* Flag values accessible only to open(2) */
68 #define O_CREAT 00400 /* open with file create (uses third open arg) */
69 #define O_TRUNC 01000 /* open with truncation */
70 #define O_EXCL 02000 /* exclusive open */
134 /* open-only modes */
216 #pragma redefine_extname open open64
219 #define open open6 macro
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_get_info.c43 * open() / read() / close() of the necessary /proc files so the
64 if ((fd = open(fname, O_RDONLY)) >= 0) {
84 if ((fd = open(fname, O_RDONLY)) >= 0) {
112 if ((fd = open(fname, O_RDONLY)) >= 0) {
142 if ((fd = open(fname, O_RDONLY)) < 0)
173 if ((fd = open(fname, O_RDONLY)) >= 0) {
190 if ((fd = open(fname, O_RDONLY)) >= 0) {
213 if ((fd = open(fname, O_RDONLY)) >= 0) {
/illumos-gate/usr/src/cmd/ipf/examples/
H A Dmkfilters.sh62 open(NETSTAT, "/usr/etc/netstat -i|") || return 0;
72 open(I, "/usr/etc/ifconfig $1|") || return 0;
83 open(I, "ifconfig -a|") || return 0;
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_ecache.c77 if ((fd = open(path, O_RDONLY)) < 0)
133 if ((fd = open(cmd.cmd_ecache_dev, O_RDONLY)) < 0) {
142 (fd = open(cmd.cmd_ecache_dev, O_RDONLY)) < 0)
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DInitialize.c65 /* Attempt to open the driver that this plugin will make request of. */
66 g_scsi_vhci_fd = open("/devices/scsi_vhci:devctl",
71 " - failed to open driver. error is : %s",
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c27 * open(2) system call, but it is included here to be consistent
28 * with other open calls in the Kerberos library code.
31 fd = open(pathname, open_flag | O_BINARY, 0600);
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_open.c58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_pickle.h66 * Returns TRUE if open was successful; FALSE otherwise.
68 bool_t open();

Completed in 165 milliseconds

1234567891011>>