/illumos-gate/usr/src/lib/libbc/csu/common/ |
H A D | alloc_pbuf.c | 38 if((fd = open("/dev/zero",O_RDONLY)) == -1 ) {
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | stat.c | 46 fd = open(str, O_RDONLY);
|
/illumos-gate/usr/src/head/ |
H A D | fcntl.h | 77 #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 D | diffdb.c | 27 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 D | tst.NoSpecBuffer.d | 44 syscall::open:entry
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | setsid.c | 63 if ((fd = open("/dev/tty", O_RDONLY)) >= 0)
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | mkwidths.py | 41 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 D | TestClose.java | 39 consumer.open(); 59 consumer.open();
|
H A D | TestAbort.java | 44 consumer.open(); 72 consumer.open(); 97 consumer.open(); 124 consumer.open();
|
H A D | TestMaxConsumers.java | 65 consumers[i].open(); 72 consumers[i].open(); 81 consumer.open();
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_create.c | 32 * 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 D | smb_nt_create_andx.c | 27 * 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 D | typeahead.c | 85 * 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 D | truncate.c | 47 if ((fd = open(path, O_WRONLY)) == -1) {
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | truncate.c | 44 if ((fd = open(path, O_WRONLY)) == -1) {
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | proc.c | 48 fd = open("/proc/self/psinfo", O_RDONLY);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/dir_rd_update/ |
H A D | dir_rd_update.c | 77 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 D | fcntl.h | 52 /* 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 D | proc_get_info.c | 43 * 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 D | mkfilters.sh | 62 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 D | cmd_ecache.c | 77 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 D | Initialize.c | 65 /* 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 D | krbfileio.c | 27 * 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 D | uu_open.c | 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_pickle.h | 66 * Returns TRUE if open was successful; FALSE otherwise. 68 bool_t open();
|