Lines Matching full:str
81 char *str = bufstart; in clnt_sperror() local
82 char *strstart = str; in clnt_sperror()
85 if (str == 0) in clnt_sperror()
87 strend = str + BUFSIZ; in clnt_sperror()
90 strncpy (str, s, BUFSIZ - 1); in clnt_sperror()
91 str[BUFSIZ - 1] = 0; in clnt_sperror()
92 strncat (str, ": ", BUFSIZ - 1 - strlen (bufstart)); in clnt_sperror()
93 str += strlen(str); in clnt_sperror()
94 strncat (str, clnt_sperrno(e.re_status), BUFSIZ - 1 - strlen (bufstart)); in clnt_sperror()
96 str += strlen(str); in clnt_sperror()
117 if (str - bufstart + 10 + strlen(strerror(e.re_errno)) < BUFSIZ) in clnt_sperror()
118 (void) snprintf(str, strend-str, "; errno = %s", in clnt_sperror()
120 str += strlen(str); in clnt_sperror()
125 if(str - bufstart + 33 + 22 < BUFSIZ) in clnt_sperror()
126 (void) snprintf(str, strend-str, in clnt_sperror()
130 str += strlen(str); in clnt_sperror()
136 if(str - bufstart + 8 < BUFSIZ) in clnt_sperror()
137 (void) snprintf(str, strend-str, "; why = "); in clnt_sperror()
138 str += strlen(str); in clnt_sperror()
140 if(str - bufstart + strlen(err) < BUFSIZ) in clnt_sperror()
141 (void) snprintf(str, strend-str, "%s",err); in clnt_sperror()
144 if(str - bufstart + 33 + 11 < BUFSIZ) in clnt_sperror()
145 (void) snprintf(str, strend-str, in clnt_sperror()
149 str += strlen(str); in clnt_sperror()
154 if(str - bufstart + 33 + 22 < BUFSIZ) in clnt_sperror()
155 (void) snprintf(str, strend-str, in clnt_sperror()
159 str += strlen(str); in clnt_sperror()
164 if(str - bufstart + 14 + 22 < BUFSIZ) in clnt_sperror()
165 (void) snprintf(str, strend-str, in clnt_sperror()
169 str += strlen(str); in clnt_sperror()
172 if (str - bufstart + 1 < BUFSIZ) in clnt_sperror()
173 (void) snprintf(str, strend-str, "\n"); in clnt_sperror()
255 char *str = get_buf(); in clnt_spcreateerror() local
258 if (str == 0) in clnt_spcreateerror()
260 strend = str+BUFSIZ; in clnt_spcreateerror()
261 (void) snprintf(str, strend-str, "%s: ", s); in clnt_spcreateerror()
262 str[BUFSIZ - 1] = '\0'; in clnt_spcreateerror()
263 (void) strncat(str, clnt_sperrno(rpc_createerr.cf_stat), BUFSIZ - 1); in clnt_spcreateerror()
266 (void) strncat(str, " - ", BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror()
267 (void) strncat(str, in clnt_spcreateerror()
269 BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror()
273 (void) strncat(str, " - ", BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror()
277 (void) strncat(str, m, BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror()
279 (void) snprintf(&str[strlen(str)], BUFSIZ - strlen(str), in clnt_spcreateerror()
304 (void) strncat(str, "\n", BUFSIZ - 1 - strlen(str)); in clnt_spcreateerror()
305 return (str); in clnt_spcreateerror()