Searched refs:GSERV_BUFSZ (Results 1 - 4 of 4) sorted by relevance
/macosx-10.10.1/gnuserv-7/gnuserv/ |
H A D | gnuslib.c | 136 char buf[GSERV_BUFSZ+1]; /* buffer for filename */ 176 if((len = msgrcv(s,msgp,GSERV_BUFSZ,getpid(),0)) < 0) { 208 if ((len=write(s,msg,min2(left,GSERV_BUFSZ))) < 0) { 233 char buffer[GSERV_BUFSZ+1]; 238 if (offset >= GSERV_BUFSZ) 403 char buffer[GSERV_BUFSZ+1]; 433 while ((length = read(s,buffer,GSERV_BUFSZ)) > 0 ||
|
H A D | gnuserv.h | 116 # define GSERV_BUFSZ BUFSIZ macro 124 if (strlen(msgp->mtext) + strlen(str) < GSERV_BUFSZ) \
|
H A D | gnuserv.c | 139 char buf[GSERV_BUFSZ]; /* pathname for key */ 158 malloc (sizeof **msgpp + GSERV_BUFSZ)) == NULL) 176 char buf[GSERV_BUFSZ]; 182 if ((len = msgrcv (ipc_qid, msgp, GSERV_BUFSZ - 1, 1, 0)) < 0) 200 if ((len = read(0,buf,GSERV_BUFSZ-1)) < 0) 212 while (offset < (GSERV_BUFSZ-1) && 232 if ((len = read(0, buf, min2 (result_len, GSERV_BUFSZ - 1))) < 0) 241 if (GSERV_BUFSZ > total) 243 if (total + len <= GSERV_BUFSZ) 246 buf[GSERV_BUFSZ [all...] |
H A D | gnuclient.c | 99 char buffer[GSERV_BUFSZ+1]; 347 char buffer[GSERV_BUFSZ + 1]; /* buffer to read pid */ 348 char result[GSERV_BUFSZ + 1]; 537 while ((nb = read(fileno(stdin), buffer, GSERV_BUFSZ-1)) > 0) 625 malloc (sizeof *msgp + GSERV_BUFSZ)) == NULL)
|
Completed in 77 milliseconds