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

/illumos-gate/usr/src/cmd/crypt/
H A Dcrypt.c104 int i, n1, n2, nchar; local
158 if ((nchar = read(0, (char *)&header, sizeof (header)))
160 exit(nchar);
163 nchar = header.count;
164 buf = (char *)malloc(nchar);
166 if (read(0, buf, nchar) != nchar)
168 while (nchar--) {
179 nchar = header.count;
180 if (write(1, buf, nchar) !
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmime.c1277 int nchar = 0; local
1285 while ((c1 = *infile++) != '\0' && nchar < maxlen)
1310 nchar++;
1316 nchar++;
1323 if (nchar >= maxlen)
/illumos-gate/usr/src/cmd/troff/
H A Dn9.c501 int nchar = length / j; local
502 while (nchar-->0 && pbp < &pbbuf[NC-3]) {
534 int nchar = length / j; local
535 while (nchar-- > 0 && pbp < &pbbuf[NC-3])
/illumos-gate/usr/src/cmd/diff3/
H A Ddiff3prog.c113 static void repos(int nchar);
472 int nchar; local
478 nchar = 0;
485 nchar++;
487 repos(nchar);
492 repos(nchar);
497 repos(int nchar) argument
501 (void) fseek(fp[i], (long)-nchar, 1);
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Donce.h134 CHR *nchar; variable
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c1227 int i, fmt_flag, nchar; local
1253 nchar = COORD_DLEN_LAT;
1260 nchar = COORD_DLEN_LONG;
1277 (void) strncpy(buff, p_coord, nchar);
1278 buff[nchar] = '\0';
1281 if ((endp != &buff[nchar]) || ((*degp == 0) && (errno != 0)))
1283 p_coord += nchar;
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dvi.c207 /*+ VI_READ( fd, shbuf, nchar )
217 int ed_viread(void *context, int fd, register char *shbuf, int nchar, int reedit) argument
260 return(reexit?reedit:ed_read(context, fd, shbuf, nchar,0));
275 i = ed_read(context, fd, shbuf, nchar, 0);
358 return(reedit?reedit:ed_read(context, fd, shbuf, nchar,0));
406 if( nchar+plen > MAXCHAR )
407 nchar = MAXCHAR - plen;
408 max_col = nchar - 2;
/illumos-gate/usr/src/tools/ctf/cvt/
H A Ddwarf.c1273 int nlong = 0, nshort = 0, nchar = 0, nint = 0; local
1291 nchar++;
1307 if (nchar > 1 || nshort > 1 || nint > 1 || nlong > 2)
1310 if (nchar > 0) {
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c4076 int nchar; /* The number of terminal characters */ local
4086 nchar = gl_displayed_tab_width(gl, gl->term_curpos);
4090 for(i=0; i<nchar; i++)
4095 nchar = 2;
4098 nchar = strlen(string);
4101 nchar = 1;
4106 string[nchar] = '\0';
4116 gl->term_curpos += nchar;

Completed in 113 milliseconds