Searched refs:strtol (Results 1 - 25 of 154) sorted by relevance

1234567

/ast/src/lib/libast/comp/
H A Dstrtol.c23 * strtol() implementation
28 #define S2I_function strtol
H A Dtransition.c46 #ifndef strtol
51 return strtol(a, b, c);
/ast/src/cmd/3d/
H A Ddll3d.c40 #undef strtol macro
H A Dfork3d.c72 addr = strtol(b, &b, 0);
73 port = strtol(b, &b, 0);
74 clone = strtol(b, &b, 0);
/ast/src/lib/libast/misc/
H A Drecstr.c61 n = (int)strtol(s, &t, 0);
113 n = strtol(s, &t, 0);
116 v = strtol(t, &t, 0);
182 a[n++] = strtol(s, &t, 0);
H A Dfs3d.c70 cur = FS3D_LIMIT((int)strtol(v + sizeof(off) + 1, NiL, 0));
/ast/src/cmd/tests/
H A Dstrelapsed.c40 n = (int)strtol(s, &e, 0);
/ast/src/cmd/mailx/
H A Dsmtp.c140 if (strtol(s, &e, 10) != SMTP_READY)
156 if (strtol(s, &e, 10) != SMTP_OK)
188 if (strtol(s, &e, 10) != SMTP_OK)
206 if (strtol(s, &e, 10) != SMTP_OK)
221 if (strtol(s, &e, 10) != SMTP_START)
242 if (strtol(s, &e, 10) != SMTP_OK)
256 if (strtol(s, &e, 10) != SMTP_CLOSE)
/ast/src/lib/libtksh/src/
H A Dshcompat.c29 return (int)strtol(astconf("OPEN_MAX", NiL, NiL), NiL, 0);
/ast/src/lib/libcs/
H A Dcsport.c47 n = strtol(serv, &t, 0);
49 strtol(t + 1, &t, 0);
/ast/src/lib/libardir/
H A Dtestar.c36 touch = strtol(*++argv, NiL, 0);
/ast/src/lib/libtk/compat/
H A Dstdlib.h40 extern long strtol _ANSI_ARGS_((CONST char *string, char **endPtr,
/ast/src/lib/libast/port/
H A Dastwinsize.c112 if (rows) *rows = (s = getenv("LINES")) ? strtol(s, NiL, 0) : 0;
113 if (cols) *cols = (s = getenv("COLUMNS")) ? strtol(s, NiL, 0) : 0;
/ast/src/cmd/ksh93/bltins/
H A Dcflow.c67 n = (((arg= *argv)?(int)strtol(arg, (char**)0, 10):shp->oldexit));
105 n = (int)strtol(arg,&arg,10);
H A Dtrap.c213 sig_list(shp,((int)strtol(signame, (char**)0, 10)&0177)+1);
247 n = strtol(string,&last,10);
270 n = strtol(stakptr(o),&last,10);
297 if((sig=(int)strtol(name+4,&name,10)) >= 0 && !*name)
302 if((sig=(int)strtol(name+4,&name,10)) >= 0 && !*name)
305 else if((sig=(int)strtol(name,&name,10)) > 0 && !*name)
/ast/src/cmd/coshell/
H A Dcotest.c51 state.fdtotal = (int)strtol(astconf("OPEN_MAX", NiL, NiL), NiL, 0);
65 state.pool = ((s = getenv(CO_ENV_PROC)) && *s) ? (int)strtol(s, NiL, 0) : POOL;
/ast/src/lib/libast/string/
H A Dstruid.c86 id = strtol(name, &e, 0);
H A Dtokscan.c83 q = strtol(s + 1, &b, 10);
277 else val = strtol(s, &p_char, c);
H A Dstrgid.c94 id = strtol(name, &e, 0);
/ast/src/cmd/cs/vcs_src/
H A Difs_news.c70 return (int)strtol( buf, (char**)0, 0 );
158 sfsprintf( buf, sizeof(buf), "%d-%d", (int)strtol( arg[2], (char**)0, 0 ), (int)strtol( arg[3], (char**)0, 0 ) );
176 MakeImageFile( arg[0], (int)strtol( arg[6], (char**)0, 0 ) );
H A Dmnt_list.c89 len = (int)strtol(s, (char**)0, 0);
/ast/src/lib/libdss/
H A Dcxattr.c92 f->base = (int)strtol(s + 5, &e, 10);
160 f->width = (int)strtol(s + 6, &e, 10);
/ast/src/cmd/ksh93/sh/
H A Dexpand.c308 first = strtol(pat,&endc,0);
311 last = strtol(cp+1,&endc,0);
313 incr = strtol(endc+2,&endc,0);
359 incr = strtol(cp+2,&endc,0);
/ast/src/cmd/cs/
H A Dpid.c119 if ((pid = strtol(m, NiL, 0)) <= 1)
125 if ((c = strtol(s, NiL, 0)) >= DECAY_MIN && c <= DECAY_MAX)
129 if ((c = strtol(s, NiL, 0)) >= EXPIRE_MIN && c <= EXPIRE_MAX)
/ast/src/lib/libtk/generic/
H A DtkTextIndex.c294 x = strtol(p, &end, 0);
299 y = strtol(p, &end, 0);
315 lineIndex = strtol(string, &end, 0) - 1;
324 charIndex = strtol(p, &end, 0);
531 count = strtol(p, &end, 0);

Completed in 47 milliseconds

1234567