Home
last modified time | relevance | path

Searched refs:waserr (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dhomedir.c331 int waserr = 0; /* True after errors */ local
367 if(!waserr && getpwnam_r(prefix, &pwd_buffer, buffer, sizeof(buffer),
369 waserr = callback_fn(data, pwd->pw_name, pwd->pw_dir,
375 if(!waserr && getpwuid_r(getuid(), &pwd_buffer, buffer, sizeof(buffer),
378 waserr = callback_fn(data, pwd->pw_name, pwd->pw_dir,
399 while((pwd = getpwent_r(&pwd_buffer, home->buffer, home->buflen)) != NULL && !waserr) {
401 while((pwd = getpwent()) != NULL && !waserr) {
404 waserr = callback_fn(data, pwd->pw_name, pwd->pw_dir,
417 if(!waserr && strncmp(prefix, "+", prefix_len) == 0) {
420 waserr = callback_fn(data, "+", pwd, _err_get_msg(home->err),ERR_MSG_LEN);
[all …]
H A Dgetline.c2200 int waserr = 0; /* True if an error occurs */ in _gl_get_line() local
2224 waserr = gl_override_signal_handlers(gl); in _gl_get_line()
2229 waserr = waserr || _gl_raw_io(gl, 1); in _gl_get_line()
2235 while(!waserr) { in _gl_get_line()
2246 waserr = 1; in _gl_get_line()
2257 waserr = 1; in _gl_get_line()
2270 if(waserr && gl->rtn_status == GLR_NEWLINE) in _gl_get_line()
2359 int waserr = 0; /* True if an error occurs */ in _gl_query_char() local
2383 waserr = gl_override_signal_handlers(gl); in _gl_query_char()
2389 waserr = waserr || _gl_raw_io(gl, 0); in _gl_query_char()
[all …]
H A Dcplfile.c616 int waserr = 0; /* True after errors */ in cf_complete_entry() local
681 while((file_name = _dr_next_file(cf->dr)) != NULL && !waserr) { in cf_complete_entry()
697 waserr = 1; in cf_complete_entry()
737 waserr = 1; in cf_complete_entry()
746 return waserr; in cf_complete_entry()
/illumos-gate/usr/src/cmd/enhance/
H A Denhance.c115 static int pty_stop_parent(int waserr, int cntrl, GetLine *gl, char *rbuff);
470 static int pty_stop_parent(int waserr, int cntrl, GetLine *gl, char *rbuff) in pty_stop_parent() argument
494 return waserr ? 1 : status; in pty_stop_parent()