/ast/src/lib/libast/string/ |
H A D | fmterror.c | 34 fmterror(int err) argument 36 return strerror(err);
|
H A D | strerror.c | 68 _ast_strerror(int err) argument 75 msg = strerror(err); 78 if (err > 0 && err <= sys_nerr) 79 msg = (char*)sys_errlist[err]; 132 sfsprintf(msg, z, ERROR_translate(NiL, NiL, "errlist", "Error %d"), err); 143 strerror(int err) argument 145 return _ast_strerror(err);
|
/ast/src/lib/libz/ |
H A D | uncompr.c | 33 int err; local 47 err = inflateInit(&stream); 48 if (err != Z_OK) return err; 50 err = inflate(&stream, Z_FINISH); 51 if (err != Z_STREAM_END) { 53 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0)) 55 return err; 59 err [all...] |
H A D | compress.c | 30 int err; local 46 err = deflateInit(&stream, level); 47 if (err != Z_OK) return err; 49 err = deflate(&stream, Z_FINISH); 50 if (err != Z_STREAM_END) { 52 return err == Z_OK ? Z_BUF_ERROR : err; 56 err = deflateEnd(&stream); 57 return err; [all...] |
H A D | example.c | 22 #define CHECK_ERR(err, msg) { \ 23 if (err != Z_OK) { \ 24 fprintf(stderr, "%s error: %d\n", msg, err); \ 63 int err; local 66 err = compress(compr, &comprLen, (const Bytef*)hello, len); 67 CHECK_ERR(err, "compress"); 71 err = uncompress(uncompr, &uncomprLen, compr, comprLen); 72 CHECK_ERR(err, "uncompress"); 93 int err; 105 fprintf(stderr, "gzputs err 174 int err; local 211 int err; local 253 int err; local 307 int err; local 349 int err; local 386 int err; local 431 int err; local 467 int err; local [all...] |
H A D | minigzip.c | 104 int err; local 120 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err)); 136 int err; local 154 if (len != (int)buf_len) error(gzerror(out, &err)); 172 int err; local 176 if (len < 0) error (gzerror(in, &err));
|
H A D | zutil.h | 56 #define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)] 58 #define ERR_RETURN(strm,err) \ 59 return (strm->msg = (char*)ERR_MSG(err), (err))
|
H A D | zutil.c | 133 const char * ZEXPORT zError(err) 134 int err; 136 return ERR_MSG(err);
|
/ast/src/lib/libast/comp/ |
H A D | spawnveg.c | 50 int err; 54 if (err = posix_spawnattr_init(&attr)) 60 if (err = posix_spawnattr_setpgroup(&attr, pgid)) 62 if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) 65 if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) 69 if (waitpid(pid, &err, WNOHANG|WNOWAIT) == pid && EXIT_STATUS(err) == 127) 81 errno = err; 167 int err[2]; 189 if (pipe(err) < [all...] |
H A D | wordexp.c | 109 goto err; 118 goto err; 129 goto err; 150 goto err; 170 goto err; 190 err:
|
/ast/src/lib/libast/misc/ |
H A D | optjoin.c | 55 Optpass_f err; local 66 err = rep = 0; 98 err = 0; 102 if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset)) 104 err = fun; 116 if (!err) 122 (*err)(argv, 1);
|
/ast/src/lib/libdll/ |
H A D | dlfcn.c | 65 static int err; variable 76 err = errno; 93 err = errno; 103 if (!err) 105 msg = fmterror(err); 106 err = 0; 131 static int err; variable 138 err = errno; 249 err = errno; 259 if (!err) 275 static int err; variable 504 static int err; variable [all...] |
H A D | dllplug.c | 39 int err; local 44 err = hit = 0; 59 err = state.error; 94 err = state.error; 102 state.error = err;
|
/ast/src/cmd/ksh93/include/ |
H A D | fault.h | 102 Error_context_t err; member in struct:checkpt 104 struct errorcontext err; member in struct:checkpt 110 (bp)->err = *ERROR_CONTEXT_BASE, \ 113 #define sh_popcontext(shp,bp) (shp->jmplist=(bp)->prev, errorpop(&((bp)->err)))
|
/ast/src/lib/libcoshell/ |
H A D | coexec.c | 149 coexec(register Coshell_t* co, const char* action, int flags, const char* out, const char* err, const char* att) argument 228 err); 279 if (err) 281 if (out && streq(out, err)) 283 else if (*err == '/') 284 sfprintf(sp, " 2%s%s", red, err); 286 sfprintf(sp, " 2%s%s/%s", red, state.pwd, err); 292 else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) 293 sfprintf(sp, " 2>%s", cj->err); 354 if (err) [all...] |
H A D | colib.h | 40 char* err; /* serialized stderr file */ \
|
/ast/src/cmd/cs/ |
H A D | fs_env.c | 119 int err; local 179 err = 0; 184 err = ENOSYS; 188 err = EINVAL; 220 err = EINVAL; 232 err = ENOSYS; 235 err = ENOSYS; 238 if (msgsend(fd, &msg, msg.call, err ? -1 : ret, err, op) <= 0)
|
/ast/src/lib/libast/port/ |
H A D | astdynamic.c | 64 _ast_libinit(void* in, void* out, void* err) argument 74 sp = (Sfio_t*)err;
|
/ast/src/cmd/ksh93/tests/ |
H A D | subshell.sh | 235 err=$( 253 err=${err%%$'\n'*} 254 err=${err#*:} 255 err=${err##[[:space:]]} 256 err_exit "nested command substitution with redirections failed -- $err" 512 err() { return $1; } function 513 ( err 1 [all...] |
/ast/src/cmd/coshell/ |
H A D | shell.c | 215 char* err; local 225 if (tokscan(msg, &end, "%s %d %d %s %s %s %s %s %s", NiL, &id, &flags, &pwd, &out, &err, &att, &env, &act) != 9) 329 if (!err) 331 if (!out && con[fd].info.user.fds[1] == con[fd].info.user.fds[2]) err = "&1"; 350 if (!err && !(err = con[fd].info.user.pump)) err = state.pump; 351 else if (*err != '/' && *err != '&') sfprintf(state.string, "%s/", pwd); 352 sfprintf(state.string, "%s &\nprint -u3 j %d $!\n", err, j [all...] |
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_network.c | 47 nFile->err = 0; 63 nFile->err = errno; 137 nFile->err = 0; 202 nFile->err = errno; 274 nFile->err = 0;
|
/ast/src/lib/libcmd/ |
H A D | pathchk.c | 174 goto err; 213 goto err; 225 err:
|
/ast/src/lib/libcs/ |
H A D | msgsend.c | 36 msgsend(int fd, register Msg_call_t* msg, unsigned long call, long ret, int err, void* data) argument 51 err = 0; 58 if (ret == -1) msgputu(&b, e, err);
|
/ast/src/cmd/mailx/ |
H A D | edit.c | 156 int err; local 183 err = run_command(edit, 0, -1, -1, state.tmp.edit, NiL, NiL) < 0; 193 if (err)
|
/ast/src/lib/libtk/library/ |
H A D | bgerror.tcl | 27 # err - The error message. 29 proc bgerror err { 33 "Error: $err" error 0 OK "Skip Messages" "Stack Trace"]
|