Searched defs:nbyte (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/libc/port/stdio/
H A D_filbuf.c57 size_t nbyte; local
117 nbyte = 1;
119 nbyte = endbuf - iop->_base;
120 if ((res = read(GET_FD(iop), (char *)iop->_base, nbyte)) > 0) {
/osnet-11/usr/src/lib/libwanboot/common/
H A Dsocket_inet.c44 * nbyte - Number of bytes to read.
49 socket_read(int fildes, void *buf, size_t nbyte, int read_timeout) argument
66 return (recv(fildes, buf, nbyte, 0));
75 * nbyte - Number of bytes to write.
80 socket_write(int fildes, const void *buf, size_t nbyte, argument
83 return (sendto(fildes, buf, nbyte, 0, (struct sockaddr *)addr,
/osnet-11/usr/src/lib/libcurses/screen/
H A Dmbaddch.c149 int n, x, y, nc, m, len, nbyte, ty; local
190 nbyte = win->_nbyte;
196 if (len > win->_maxx || 2*len < nbyte)
223 for (m = nbyte/2; m > 0; m -= 1, wch += 2)
228 if ((nbyte%2) != 0)
232 for (m = (nbyte / 2) + (nbyte % 2); m < len; ++m)
H A Dwgetstr.c61 int nbyte = 0; local
97 while (nbyte < n) {
116 nbyte = 0;
183 nbyte++;
/osnet-11/usr/src/lib/libsasl/lib/
H A Dcheckpw.c469 * Keep calling the read() system call with 'fd', 'buf', and 'nbyte'
472 static int retry_read(int fd, void *buf0, unsigned nbyte) argument
478 if (nbyte == 0) return 0;
481 n = read(fd, buf, nbyte);
489 if (nread >= (int) nbyte) return nread;
492 nbyte -= n;
/osnet-11/usr/src/lib/libproc/common/
H A DPcontrol.c1976 size_t nbyte, /* number of bytes to read */
1979 return (P->ops->p_pread(P, buf, nbyte, address));
1991 int nbyte; local
2003 for (nbyte = STRSZ; nbyte == STRSZ && leng < size; addr += STRSZ) {
2004 if ((nbyte = P->ops->p_pread(P, string, STRSZ, addr)) <= 0) {
2008 if ((nbyte = strlen(string)) > 0) {
2009 if (leng + nbyte > size)
2010 nbyte = size - leng;
2011 (void) strncpy(buf + leng, string, nbyte);
1974 Pread(struct ps_prochandle *P, void *buf, size_t nbyte, uintptr_t address) argument
2020 Pwrite(struct ps_prochandle *P, const void *buf, size_t nbyte, uintptr_t address) argument
[all...]
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dedit.c923 * put <string> of length <nbyte> onto lookahead stack
928 static int putstack(Edit_t *ep,char string[], register int nbyte, int type) argument
933 int size, offset = ep->e_lookahead + nbyte;
934 *(endp = &p[nbyte]) = 0;
935 endp = &p[nbyte];
992 for(size=offset;size < nbyte;size++)
995 ep->e_lookahead += nbyte-offset;
997 while (nbyte > 0)
999 c = string[--nbyte] & STRIP;
/osnet-11/usr/src/lib/libc/port/threads/
H A Dscalls.c893 pread(int fildes, void *buf, size_t nbyte, off_t offset) argument
898 PERFORM(__pread(fildes, buf, nbyte, offset))
903 pread64(int fildes, void *buf, size_t nbyte, off64_t offset) argument
908 PERFORM(__pread64(fildes, buf, nbyte, offset))
913 pwrite(int fildes, const void *buf, size_t nbyte, off_t offset) argument
918 PERFORM(__pwrite(fildes, buf, nbyte, offset))
923 pwrite64(int fildes, const void *buf, size_t nbyte, off64_t offset) argument
928 PERFORM(__pwrite64(fildes, buf, nbyte, offset))
/osnet-11/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c778 * rval, fd, buf, and nbyte should be passed unmodified from s10_getdents()
787 s10_getdents_common(sysret_t *rval, int fd, char *buf, size_t nbyte, argument
807 nbyte));
816 if (nbyte > MAXGETDENTS_SIZE)
817 nbyte = MAXGETDENTS_SIZE;
818 local_buf = (char *)malloc(nbyte);
828 buf, nbyte);
842 nbyte)) != 0) {
924 s10_getdents(sysret_t *rval, int fd, struct dirent *buf, size_t nbyte) argument
926 return (s10_getdents_common(rval, fd, (char *)buf, nbyte, SYS_getdent
938 s10_getdents64(sysret_t *rval, int fd, struct dirent64 *buf, size_t nbyte) argument
[all...]

Completed in 88 milliseconds