/solaris-userland-s11u3/components/open-fabrics/rds-tools/ |
H A D | rds-vendor.c | 47 sol_ioctl(int fd, int opt_val, struct rds_info_arg *argp, socklen_t *ulen, argument 58 *item_size = ioctl(fd, opt_val, &arg); 78 *item_size = ioctl(fd, opt_val, &arg);
|
/solaris-userland-s11u3/components/net-snmp/sun/agent/modules/seaExtensions/ |
H A D | sunSystem.c | 69 FILE *fd; local 85 fd = fopen("/etc/motd", "r"); 87 if (fd != NULL) { 88 fgets(motd, sizeof (motd), fd); 89 fclose(fd);
|
H A D | sunProcesses.c | 316 int fd; local 318 if ((fd = open(psfile, O_RDONLY)) == -1) 321 if (fstat(fd, &sbuf1) < 0 || sbuf1.st_size == 0 || 326 (void) close(fd); 332 if (read_tmp_file(fd, (char *) &ndev, sizeof (ndev)) == 0) { 333 (void) close(fd); 344 if (read_tmp_file(fd, (char *)devl, ndev * sizeof (*devl)) == 0) { 345 (void) close(fd); 349 (void) close(fd); 478 int fd; local [all...] |
/solaris-userland-s11u3/components/net-snmp/sun/sdk/demo/demo_module_7/ |
H A D | demo_module_7.c | 353 static int fd = 0; local 361 if ((fd = open(filename, O_NONBLOCK | 365 if (fstat(fd, &buf) == -1)
|
/solaris-userland-s11u3/components/bzip2/ |
H A D | oldapi.c | 145 bzdopen(int fd, const char *mode) argument 147 return (BZ2_bzdopen(fd, mode));
|
/solaris-userland-s11u3/components/open-fabrics/libibverbs/ |
H A D | solaris_compatibility.c | 311 int fd, i, hca_cnt; local 333 if ((fd = open(uverbs_devpath, O_RDWR)) < 0) { 343 close(fd); 351 if (ioctl(fd, UVERBS_IOCTL_GET_HCA_INFO, uverbs_infop) != 0) { 436 close(fd); 441 close(fd); 463 int i, fd, minor; local 475 if ((fd = open(umad_devpath, O_RDWR)) > 0) 482 if ((minor == MAX_PORTS) && (fd < 0)) { 498 if (ioctl(fd, IB_USER_MAD_GET_PORT_INF 545 int fd, minor; local 836 int fd; local [all...] |
/solaris-userland-s11u3/components/libusb/ugen/src/ |
H A D | libusbugen.c | 78 static int usb_do_io(int fd, int stat_fd, char *data, size_t size, int flag); 79 static int usb_send_msg(int fd, int stat_fd, int requesttype, int request, 83 static int usb_get_status(int fd); 1200 usb_send_msg(int fd, int stat_fd, int requesttype, int request, int value, argument 1224 rval = usb_do_io(fd, stat_fd, (char *)&req, 1237 rval = usb_do_io(fd, stat_fd, buffer, 1254 usb_do_io(int fd, int stat_fd, char *data, size_t size, int flag) argument 1269 ret = read(fd, data, size); 1274 ret = write(fd, data, size); 1383 int fd, fdsta local 2262 usb_get_device_status(int fd) argument 2384 int fd; local 2464 usb_get_status(int fd) argument [all...] |