Searched refs:read (Results 351 - 375 of 920) sorted by relevance

<<11121314151617181920>>

/opensolaris-onvv-gate/usr/src/cmd/saf/
H A Dmisc.c103 if (read(Cfd, ap, sizeof(struct admcmd)) < 0) {
389 * request for sac to read sactab
404 * request for port monitor to read _pmtab
574 if ((ret = read(fd, buf, SIZE - 1)) < 0) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/lex/common/
H A Dsub1.c643 error("Cannot read from -- %s",
660 error("Cannot read from -- standard input");
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dbpt.c516 if (read(ph->pp_statusfd, &pstat, sizeof (pstat)) == -1)
523 if (read(ph->pp_statusfd, &pstat, sizeof (pstat)) == -1)
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Dauthfd.c132 * Wait for response from the agent. First read the length of the
137 l = read(auth->fd, buf + 4 - len, len);
158 l = read(auth->fd, buf, l);
H A Dauthfile.c247 if (read(fd, cp, (size_t) len) != (size_t) len) {
330 if (read(fd, cp, (size_t) len) != (size_t) len) {
472 debug("read PEM private key done: type %s",
/opensolaris-onvv-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c334 * our original parent -- the psinfo read verifies that
338 read(privileged_psinfo_fd, &info, sizeof (info)) !=
472 if (read(filedes[0], &data, 1) == 1) {
/opensolaris-onvv-gate/usr/src/cmd/tplot/
H A Dvplot.c352 read(in, blocks[0], 32*BSIZ);
465 read(in, bufs[NB-1].block, BSIZ);
/opensolaris-onvv-gate/usr/src/cmd/troff/troff.d/
H A Dt10.c105 * read in resolution, size info, font info, etc.
115 read(fin, (char *) &dev, sizeof(struct dev ));
129 read(fin, filebase, dev.filesize); /* all at once */
/opensolaris-onvv-gate/usr/src/cmd/ttymon/
H A Dtmchild.c279 if (read(0, buffer, 1) < 0
295 rtn = read(0, buffer, 1);
/opensolaris-onvv-gate/usr/src/cmd/vi/port/
H A Dex_vget.c132 if ((c=read(slevel == 0 ? 0 : ttyindes, &ch, 1)) != 1) {
138 error(gettext("Input read error"));
142 if (read(0, &Peek2key, 1) != 1)
/opensolaris-onvv-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c162 * for read/write access.
307 int cntread; /* Number of bytes read */
311 cntread = (int)read(lkfilefd, &lkcnt, sizeof (int));
359 if (read(lkfilefd, alloc, bufsiz) != (ssize_t)bufsiz)
362 /* If the read failed, free malloc()ed buffer */
1108 /* Put a read-lock on the lock-file ... */
/opensolaris-onvv-gate/usr/src/lib/libast/common/uwin/
H A Drcmd.c284 if (read(s, &c, 1) != 1) {
289 while (read(s, &c, 1) == 1) {
/opensolaris-onvv-gate/usr/src/lib/libc/capabilities/sun4u-opl/common/
H A Dmemcpy.s118 ldub [%o1], %o3 ! read a byte
136 ldub [%o1], %o3 ! read a byte
317 ldub [%o1], %o3 ! read a byte
346 ldub [%o1], %o3 ! read byte
380 lduw [%o1], %o3 ! read word
385 lduw [%o1-4], %o3 ! read word
408 lduw [%o1], %o3 ! read word
619 ! Be careful not to read past end of SRC
/opensolaris-onvv-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcpy.s113 ldub [%o1], %o3 ! read a byte
129 ldub [%o1], %o3 ! read a byte
340 ldub [%o1], %o3 ! read a byte
367 ldub [%o1], %o3 ! read byte
401 lduw [%o1], %o3 ! read word
406 lduw [%o1-4], %o3 ! read word
429 lduw [%o1], %o3 ! read word
636 ! Be careful not to read past end of SRC
/opensolaris-onvv-gate/usr/src/lib/libinstzones/common/
H A Dzones_exec.c269 * Spin reading data from the child into the buffer - when the read eofs
276 /* read as much child data as there is available buffer space */
278 bytesRead = read(ipipe[0], buffer + bufferIndex,
281 /* break out of read loop if end-of-file encountered */
306 /* at least 1 byte read: expand buffer if at end */
317 (void) close(ipipe[0]); /* Close read side of pipe */
910 * Spin reading data from the child into the buffer - when the read eofs
917 /* read as much child data as there is available buffer space */
919 bytesRead = read(ipipe[0], buffer + bufferIndex,
922 /* break out of read loo
[all...]
/opensolaris-onvv-gate/usr/src/lib/libnsl/yp/
H A Ddbm.c331 readsize = read(pagf, pagbuf, PBLKSIZ);
357 readsize = read(dirf, dirbuf, DBLKSIZ);
/opensolaris-onvv-gate/usr/src/lib/libntfs/common/libntfs/
H A Ddevice.c157 * fake_pread - read operation disguised as pread
158 * @dev: device to read from
160 * @count: number of bytes to read
161 * @pos: position in device to read from
164 * read()s.
169 return dev->d_ops->read(dev, b, count);
173 * ntfs_pread - positioned read from disk
174 * @dev: device to read from
175 * @pos: position in device to read from
176 * @count: number of bytes to read
[all...]
/opensolaris-onvv-gate/usr/src/lib/libsasl/lib/
H A Dcheckpw.c448 n = read(s, response+start, sizeof(response) - 1 - start);
469 * Keep calling the read() system call with 'fd', 'buf', and 'nbyte'
470 * until all the data is read in or an error occurs.
481 n = read(fd, buf, nbyte);
633 * read response of the form:
638 sasl_seterror(conn, 0, "size read failed");
652 sasl_seterror(conn, 0, "read failed");
/opensolaris-onvv-gate/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c134 * Wrapper for MD init: read MD and invoke md_init_intern.
153 if (read(fd, &mdh, sizeof (md_header_t)) != sizeof (md_header_t))
163 if (read(fd, buf + sizeof (md_header_t),
/opensolaris-onvv-gate/usr/src/ucbcmd/sed/
H A Dsed1.c613 if(f < 0 || (c = read(f, ibuf, BUFSIZ)) == 0) {
626 if(f < 0 || (c = read(f, ibuf, BUFSIZ)) == 0) {
/opensolaris-onvv-gate/usr/src/ucblib/libdbm/
H A Ddbm.c342 readsize = read(pagf, pagbuf, PBLKSIZ);
367 readsize = read(dirf, dirbuf, DBLKSIZ);
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_cache.c48 "Read", (uintptr_t)nsc_fatal, _I(read),
165 * be no data buffer to immediately read the data into.
215 return ((*h->sb_fd->sf_aio->read)(h, pos, len, flag));
/opensolaris-onvv-gate/usr/src/uts/common/io/e1000g/
H A De1000_82542.c84 nvm->ops.read = e1000_read_nvm_microwire;
137 /* read mac address */
300 * Clear all of the statistics registers (clear on read). It is
447 * @reg: e1000 register to be read
451 * the name of the register to read and returns the correct offset for
586 ret_val = hw->nvm.ops.read(hw, offset, 1, &nvm_data);
/opensolaris-onvv-gate/usr/src/lib/libdscfg/common/
H A Dcfg.c1200 * -1 incorrect section, or read error from cfg DB
1308 * -1 incorrect section, or read error from cfg DB
1502 * read header and all sections of configuration file
1522 (void) fprintf(stderr, "initial cfg header read\n");
1534 rc = (*cfp->cf_pp->read)(cfp, (char *)cfp->cf_head, 4);
1537 (void) fprintf(stderr, "cfg: read magic number failed\n");
1549 rc = (*cfp->cf_pp->read)(cfp, (char *)cfp->cf_head, sizeof (*hd));
1552 (void) fprintf(stderr, "cfg: read header failed\n");
1572 rc = (*cfp->cf_pp->read)
1576 (void) fprintf(stderr, "cfg: read pars
[all...]
/opensolaris-onvv-gate/usr/src/cmd/audio/audioconvert/
H A Dfile.cc134 if (hsize = read(fd, (char *)&fhdr, sizeof (fhdr))
136 perror("read");

Completed in 292 milliseconds

<<11121314151617181920>>