/ast/src/lib/libast/misc/ |
H A D | procclose.c | 28 * otherwise exit() status of process is returned 38 int status = -1; local 47 status = 0; 63 while ((pid = waitpid(p->pid, &status, flags)) == -1 && errno == EINTR); 65 status = 0; 87 status = status == -1 ? 89 WIFSIGNALED(status) ? 90 EXIT_TERM(WTERMSIG(status)) : 91 EXIT_CODE(WEXITSTATUS(status)); [all...] |
H A D | fts.c | 42 #define _fts_status status 63 int cd; /* chdir status */ \ 80 * NOTE: <ftwalk.h> relies on status and statb being the first two elements 199 f->status = 0; 847 if (f->status == FTS_SKIP) 975 if (!fts->dir || f->nd || f->status == FTS_SKIP) 1206 f->status != FTS_SKIP && 1207 f->status != FTS_NOPOSTORDER) 1248 if (f->status == FTS_AGAIN) 1251 f->status 1445 fts_set(register FTS* fts, register FTSENT* f, int status) argument [all...] |
/ast/src/lib/libcoshell/ |
H A D | system.c | 35 int status; local 47 * synthesize wait() status from shell status 51 status = cj->status; 52 if (EXITED_TERM(status)) 53 status &= ((1<<(EXIT_BITS-1))-1); 55 status = (status & ((1<<EXIT_BITS)-1)) << EXIT_BITS; 56 return status; [all...] |
H A D | coclose.c | 50 int status; local 64 if (waitpid(co->pid, &status, 0) != co->pid) 65 status = -1; 71 status = 0; 79 waitpid(sv->pid, &status, 0); 98 return status;
|
H A D | coshell.h | 99 int status; /* exit status */ member in struct:Cojob_s
|
/ast/src/lib/libast/disc/ |
H A D | sfdctee.c | 35 int status; /* if tee stream is still ok */ member in struct:_tee_s 52 if(te->status == 0 && sfwrite(te->tee,buf,size) != (ssize_t)size) 53 te->status = -1; 94 te->status = 0;
|
/ast/src/lib/libast/sfio/ |
H A D | sfpoll.c | 42 reg int *status, *check; local 47 if(!(status = (int*)malloc(2*n*sizeof(int))) ) 49 check = status+n; /* streams that need polling */ 62 status[r] = 0; 73 status[r] |= SF_READ; 76 status[r] |= SF_WRITE; 78 if((f->flags&SF_RDWR) == status[r]) 86 { status[r] = m&SF_RDWR; 95 status[r] |= SF_READ; 97 status[ [all...] |
H A D | sfmode.c | 261 int pid, status; local 271 status = 0; 281 status = -1; 282 while ((pid = waitpid(p->pid,&status,0)) == -1 && errno == EINTR) 285 status = status == -1 ? 287 WIFSIGNALED(status) ? 288 EXIT_TERM(WTERMSIG(status)) : 289 EXIT_CODE(WEXITSTATUS(status)); 307 return status; [all...] |
/ast/src/cmd/tests/aso/ |
H A D | tproc.c | 58 int status; local
|
/ast/src/cmd/tests/vmalloc/ |
H A D | tsafemalloc.c | 90 void *status; local 107 { if((rv = pthread_join(th[i], &status)) != 0 ) 109 tinfo("Thread %d return error %ld", i, (long)status);
|
/ast/src/lib/libast/regex/ |
H A D | regcache.c | 79 regcache(const char* pattern, regflags_t reflags, int* status) argument 107 if (status) 108 *status = i; 160 if (status) 161 *status = REG_ESPACE; 174 if (status) 175 *status = REG_ESPACE; 185 if (status) 186 *status = i; 195 if (status) [all...] |
/ast/src/cmd/dss/ |
H A D | dss.c | 93 "[v:verbose?Enable verbose status messages.]" 185 int status; local 217 status = 0; 304 status = 1; 306 status = 1; 307 return status;
|
/ast/src/cmd/sortlib/sync/ |
H A D | test.c | 31 int status; member in struct:State_s 50 state->status = RS_ACCEPT; 61 state->status = RS_ACCEPT; 64 state->status = RS_DONE; 67 state->status = RS_DELETE; 70 state->status = RS_INSERT; 73 state->status = RS_ACCEPT; 83 state->status = RS_DELETE; 91 state->status = RS_TERMINATE; 95 return state->status; [all...] |
/ast/src/lib/libast/uwin/ |
H A D | rcmd.c | 510 int status; local 518 while (1 == (status = getnetgrent(&host, &user, &domain)) 524 if (0 == status || NULL == host) 542 int status; local 550 while (1 == (status = getnetgrent(&host, &user, &domain)) 556 if (0 == status || NULL == user)
|
/ast/src/lib/libcs/ |
H A D | css.c | 102 ip->status = CS_POLL_CLOSE; 483 pp->status = 0; 610 int status; local 694 ip->status = CS_POLL_BEFORE; 731 if (pp->status & (CS_POLL_READ|CS_POLL_WRITE)) 795 messagef((state.main->id, NiL, -9, "csspoll: pending=%d polling=%d next=%d fd=%d status=%06o", state.fdpending, state.fdpolling, state.fdnext, fd, pp->status)); 798 status = pp->status & ~(CS_POLL_BEFORE|CS_POLL_USER); 799 pp->status [all...] |
H A D | css.h | 89 int status; /* action status */ member in struct:Cssfd_s
|
/ast/src/lib/libmam/ |
H A D | mam.h | 55 int status; /* action exit status */ member in struct:rule 112 int status; /* exit status */ member in struct:proc
|
/ast/src/lib/libpp/ |
H A D | ppsearch.c | 72 register struct ppsymbol* status; local 74 status = fp->guard; 75 message((-3, "search: %s: status=%s%s test=%s", fp->name, status == INC_CLEAR ? "[CLEAR]" : status == INC_TEST ? "[ONCE]" : status == INC_IGNORE ? "[IGNORE]" : status->name, (pp.mode & HOSTED) ? "[HOSTED]" : "", test == INC_CLEAR ? "[CLEAR]" : test == INC_TEST ? "[TEST]" : test->name)); 76 if (status == INC_IGNORE) 83 if (status != INC_CLEAR) 85 if (status [all...] |
/ast/src/cmd/tests/cdt/ |
H A D | trehash.c | 105 int status; local 108 pid = wait(&status); 109 if(WIFSIGNALED(status)) 110 { int sig = WTERMSIG(status); 114 else if(WCOREDUMP(status))
|
H A D | tsafehash.c | 105 int status; local 108 pid = wait(&status); 109 if(WIFSIGNALED(status)) 110 { int sig = WTERMSIG(status); 114 else if(WCOREDUMP(status))
|
H A D | tsafetree.c | 105 int status; local 108 pid = wait(&status); 109 if(WIFSIGNALED(status)) 110 { int sig = WTERMSIG(status); 114 else if(WCOREDUMP(status)) 119 if(status) 120 terror("Child process %d exit code %d", pid, status);
|
/ast/src/cmd/mailx/ |
H A D | fio.c | 185 for (cp2 = "status";; cp++) { 361 int status; local 390 status = 0; 393 if (!status) { 396 status = 1; 397 else if (!strncasecmp(s, "status:", 7)) { 398 status = 1;
|
H A D | head.c | 91 "status", GSTATUS, 296 * Generate the message status field. 299 status(struct parse* pp) function 637 status(pp); 660 status(pp);
|
H A D | proc.c | 607 int status = -1; local 610 while (waitpid(pid, &status, 0) == -1 && errno == EINTR); 613 return status;
|
/ast/src/cmd/ss/ |
H A D | ssd.c | 25 * system status daemon 192 * and here we have the status symbols 224 finish(int status) argument 231 exit(status); 235 * update data status checking for competing daemon 325 * start remote status daemon 343 * loop until remote status daemon starts
|