/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_stat.c | 219 pr_fstat(struct ps_prochandle *Pr, int fd, struct stat *buf) argument 231 return (fstat(fd, buf)); 240 adp->arg_value = fd; 452 pr_fstat64(struct ps_prochandle *Pr, int fd, struct stat64 *buf) argument 464 return (fstat64(fd, buf)); 477 adp->arg_value = fd;
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 346 int fd = -1; local 352 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) == -1) 355 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) == NULL) 376 cl = clnt_tli_create(fd, nconf, &tbind->addr, prog, vers, 0, 0); 498 if (fd >= 0) 499 (void) t_close(fd);
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | jobs.c | 158 int tcsetpgrp(int fd,pid_t pgrp) argument 162 return(ioctl(fd, TIOCSPGRP, &pgid)); 585 job.fd = JOBTTY; 620 register int fd; local 628 if((fd = open(ttynam,O_RDWR)) <0) 630 if(fd!=JOBTTY) 631 sh_iorenumber(shp,fd,JOBTTY); 767 tcsetpgrp(job.fd,job.mypgid); 774 tty_get(job.fd,&my_stty); 775 if (ioctl(job.fd, FIOPOPL [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_util.c | 269 smbfs_get_xti_err(int fd) argument 276 look = t_look(fd); 279 (void) t_rcvdis(fd, NULL); 280 (void) t_snddis(fd, NULL); 284 (void) t_rcvrel(fd); 286 (void) t_sndrel(fd);
|
/osnet-11/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 232 FILE *fd; local 236 fd = fopen(PKFILE, "rF"); 237 if (fd == NULL) { 243 while ((res = fgets(buf, WORKBUFSIZE, fd)) != NULL) { 288 (void) fclose(fd); 295 (void) fclose(fd);
|
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/ |
H A D | dhcptab.c | 62 int fd; local 74 retval = open_file(dtpath, flags, &fd); 80 fp = fdopen(fd, flags & DSVC_WRITE ? "r+" : "r"); 82 (void) close(fd); 549 * Write the dt_rec_t pointed to by `recp' into the open container `fd' at 553 write_rec(int fd, dt_rec_t *recp, off_t recoff) argument 573 if (pnwrite(fd, ent, entlen, recoff) == -1)
|
/osnet-11/usr/src/lib/libfstyp/common/ |
H A D | libfstyp.c | 57 int (*fstyp_init)(int fd, off64_t offset, 82 int fd; member in struct:fstyp_handle 111 fstyp_init(int fd, off64_t offset, char *module_dir, fstyp_handle_t *handle) argument 125 h->fd = fd; 510 error = mp->ops.fstyp_init(h->fd, h->offset, &mp->mod_handle);
|
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
H A D | bay_fac.c | 118 int fd; local 170 fd = open(dev_nm, O_RDWR); 171 if (fd == -1) { 197 rv = ioctl(fd, dc_getset_led, &led); 201 (void) close(fd); 204 (void) close(fd);
|
/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log.c | 373 int fd, ret; local 377 number, &fname, &fd, DB_RDONLY | DB_SEQUENTIAL)) != 0) { 383 if ((ret = __os_seek(fd, 0, 0, sizeof(HDR), 0, SEEK_SET)) != 0 || 384 (ret = __os_read(fd, &persist, sizeof(LOGP), &nw)) != 0 || 389 (void)__os_close(fd); 395 (void)__os_close(fd);
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfsclone.c | 525 static int io_all(void *fd, void *buf, int count, int do_write) argument 528 struct ntfs_device *dev = fd; 532 i = write(*(int *)fd, buf, count); 534 i = read(*(int *)fd, buf, count); 549 static void rescue_sector(void *fd, off_t pos, void *buff) argument 552 struct ntfs_device *dev = fd; 555 if (lseek(*(int *)fd, pos, SEEK_SET) == (off_t)-1) 562 if (read_all(fd, buff, NTFS_SECTOR_SIZE) == -1) { 576 void *fd = (void *)&fd_in; local 581 fd 1439 device_offset_valid(int fd, s64 ofs) argument 1448 device_size_get(int fd) argument 1502 fsync_clone(int fd) argument [all...] |
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_db.c | 174 int fd, 219 if (lseek(fd, (off_t)(startblk * DEV_BSIZE), SEEK_SET) < 0) { 225 if (write(fd, buffer, iosize) != iosize) { 230 if (lseek(fd, (off_t)(startblk * DEV_BSIZE), SEEK_SET) < 0) { 235 if (read(fd, buffer, iosize) != iosize) { 290 if (devid_get(fd, &devid) == 0) { 306 if (lseek(fd, (off_t)(firstblk * DEV_BSIZE), SEEK_SET) < 0) { 311 if (write(fd, mb, DEV_BSIZE) != DEV_BSIZE) { 316 if (lseek(fd, (off_t)(firstblk * DEV_BSIZE), SEEK_SET) < 0) { 321 if (read(fd, m 171 mkmasterblks( mdsetname_t *sp, mdname_t *np, int fd, daddr_t firstblk, int dbsize, md_timeval32_t inittime, md_error_t *ep ) argument 338 meta_mkdummymaster( mdsetname_t *sp, int fd, daddr_t firstblk ) argument 1126 int ret = 1, fd; local 1454 int fd; local 1796 int fd = -1; local [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | os-ip.c | 117 static int nsldapi_add_to_os_pollfds( int fd, 119 static int nsldapi_clear_from_os_pollfds( int fd, 121 static int nsldapi_find_in_os_pollfds( int fd, 331 /* connects. If the connect fails, the exception fd, eset, is */ 1227 * returns 1 if "fd" was added to pollfds. 1232 nsldapi_add_to_os_pollfds( int fd, struct nsldapi_os_statusinfo *pip, argument 1237 /* first we check to see if "fd" is already in our pollfds */ 1240 if ( pip->ossi_pollfds[ i ].fd == fd ) { 1249 if ( pip->ossi_pollfds[ i ].fd 1296 nsldapi_clear_from_os_pollfds( int fd, struct nsldapi_os_statusinfo *pip, short events ) argument 1324 nsldapi_find_in_os_pollfds( int fd, struct nsldapi_os_statusinfo *pip, short revents ) argument [all...] |
/osnet-11/usr/src/lib/libshare/common/ |
H A D | sharetab.c | 55 getshare(FILE *fd, share_t **shp) argument 74 p = fgets(line, MAXBUFSIZE, fd);
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_doorclnt.c | 447 int fd; local 465 if ((fd = open(SMBD_DOOR_NAME, O_RDONLY)) < 0) { 472 (void) close(fd); 476 if (smb_door_call_private(fd, &da) != 0) { 479 (void) close(fd); 486 (void) close(fd); 497 smb_door_call_private(int fd, smb_doorarg_t *da) argument 508 if ((rc = door_call(fd, &door_arg)) == 0)
|
/osnet-11/usr/src/lib/libcryptoutil/common/ |
H A D | cryptoutil.h | 239 extern ssize_t readn_nointr(int fd, void *dbuf, size_t dlen); 240 extern ssize_t writen_nointr(int fd, void *dbuf, size_t dlen);
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | io.d.in | 200 inline fileinfo_t fds[int fd] = xlate <fileinfo_t> ( 201 fd >= 0 && fd < curthread->t_procp->p_user.u_finfo.fi_nfiles ? 202 curthread->t_procp->p_user.u_finfo.fi_list[fd].uf_file : NULL);
|
/osnet-11/usr/src/lib/libipp/ |
H A D | libipp.c | 711 int fd; local 746 if ((fd = open(IPPCTL_DEVICE, O_RDWR | O_NOCTTY)) == -1) { 763 if ((rc = ioctl(fd, IPPCTL_CMD, &iioc)) < 0) { 816 if ((rc = ioctl(fd, IPPCTL_DATA, &iioc)) < 0) { 890 (void) close(fd); 907 if (fd != -1) 908 (void) close(fd); 914 (void) close(fd);
|
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | lock.h | 66 (void)__db_mutex_lock(&(lt)->region->hdr.lock, (lt)->reginfo.fd) 68 (void)__db_mutex_unlock(&(lt)->region->hdr.lock, (lt)->reginfo.fd)
|
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri_iscsi.c | 53 open_iscsi_driver(struct suri_handle *sh, int *fd) argument 55 if ((*fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { 435 int i, ntgts, fd; local 438 if ((ret = open_iscsi_driver(sh, &fd)) != ESURI_OK) 453 (void) close(fd); 458 err = ioctl(fd, ISCSI_SENDTGTS_GET, stl_hdr); 484 (void) close(fd); 494 (void) close(fd);
|
/osnet-11/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 142 int fd, i; local 151 if ((fd = open64(path, O_RDONLY)) >= 0) { 157 n = read(fd, &gwin, sizeof (gwin)); 177 (void) close(fd);
|
/osnet-11/usr/src/lib/efcode/fcdriver/ |
H A D | get_req.c | 166 FILE *fd; local 177 if ((fd = fopen(fname, "w")) == NULL) { 183 fwrite(buf, len, sizeof (char), fd); 184 fclose(fd); 345 * file descriptor is fd 0.
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.h | 69 int fd; /* file descriptor */ member in struct:MPOOL
|
/osnet-11/usr/src/cmd/sendmail/db/dbm/ |
H A D | dbm.c | 479 int fd; local 483 (void)dbc->dbp->fd(dbc->dbp, &fd); 484 return (fd);
|
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | os.h | 111 struct openCnt *pOpen; /* Info about all open fd's on this inode */ 113 int fd; /* The file descriptor */ member in struct:OsFile
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | newterm.c | 456 typeahead(int fd) argument 459 if (fd != -1) { 460 if (isatty(fd)) { 461 __m_screen->_kfd = fd;
|