Searched refs:strncopy (Results 1 - 25 of 29) sorted by relevance

12

/ast/src/lib/libast/string/
H A Dstrncopy.c33 strncopy(register char* t, register const char* f, size_t n) function
/ast/src/lib/libdss/
H A Ddssmagic.c42 strncopy(magic.name, name, sizeof(magic.name));
43 strncopy(magic.type, type, sizeof(magic.type));
/ast/src/lib/libcodex/
H A Dcodexpass.c38 return strncopy((char*)buf, disc->passphrase, n) - (char*)buf;
H A Dcodexgetpass.c64 r = strncopy((char*)buf, s, n) - (char*)buf;
H A Dcodex.c418 strncopy(cache->name, name, namelen < sizeof(cache->name) ? (namelen + 1) : sizeof(cache->name));
631 strncopy(can, v, b - v);
/ast/src/lib/libast/path/
H A Dpathprobe.c133 strncopy(buf, proc, p - proc + 1);
141 strncopy(proc + n, p, PATH_MAX - n - 1);
156 strncopy(p, key, x - p);
160 e = strncopy(p, probe, x - p);
176 strncopy(np, probe, nx - np);
204 strncopy(p, key, x - p);
214 strncopy(p, k, x - p);
H A Dpathfind.c102 strncopy(buf, name, size);
/ast/src/cmd/mailx/
H A Dmisc.c360 strncopy(user = temp, addr, sizeof(temp));
404 p = strncopy(p, uucp, e - p);
405 p = strncopy(p, "!", e - p);
407 p = strncopy(p, user, e - p);
409 p = strncopy(p, "%", e - p);
410 p = strncopy(p, arpa, e - p);
413 p = strncopy(p, "@", e - p);
414 p = strncopy(p, inet, e - p);
735 strncopy(register char* t, register const char* f, size_t n) function
H A Dhead.c168 strncopy(ap->type, data, size + 1);
175 strncopy(ap->opts, s, size + 1);
191 strncopy(ap->code, data, size + 1);
203 strncopy(ap->name, data, size + 1);
799 s = strncopy(namebuf, s, e - namebuf);
803 s = strncopy(t, s, e - t);
804 strncopy(s, "!", e - s);
895 t = strncopy(hl->l_info = t, s, e - t);
902 t = strncopy(hl->l_from = t, s, e - t - 1) + 1;
905 t = strncopy(h
[all...]
H A Dproc.c237 s = strncopy(b, state.tmp.dir, e - b);
238 s = strncopy(s, "Mail", e - s);
241 strncopy(s, "XXXXXX", e - s);
H A Dcmd3.c119 strncopy(str, buf, size);
120 strncopy(state.last.bang, buf, sizeof(state.last.bang) - 1);
134 strncopy(cmd, str, sizeof(cmd));
384 strncopy(state.var.pwd, cp, PATHSIZE);
H A Dlex.c109 strncopy(state.path.prev, state.path.mail, sizeof(state.path.prev));
111 strncopy(state.path.mail, name, sizeof(state.path.mail));
H A Dfio.c636 strncopy(cmd, name, sizeof(cmd));
689 strncopy(name, folder, size);
776 strncopy(state.more.pattern, state.more.tmp, sizeof(state.more.pattern));
H A Dnames.c438 strncopy(rp, tp, ep - rp);
H A Dcmd2.c634 strncopy(ap->code, ap->type, sizeof(ap->code));
H A Dcollect.c518 strncopy(pp.buf + 2, deadletter(), sizeof(pp.buf) - 2);
H A Dlist.c176 strncopy(state.last.scan, str, sizeof(state.last.scan));
802 strncopy(state.lexstring, state.string_stack[state.regretp], sizeof(state.lexstring));
H A Dmailx.h1068 extern char* strncopy(char*, const char*, size_t);
/ast/src/cmd/dsslib/opaque/
H A Dopaque.c180 strncopy(opaque->magic.name, opt_info.arg, sizeof(opaque->magic.name));
187 strncopy(opaque->magic.type, opt_info.arg, sizeof(opaque->magic.type));
/ast/src/cmd/codexlib/bzip/
H A Dbzip.c31 strncopy(name, meth->name, namesize);
/ast/src/cmd/codexlib/gzip/
H A Dgzip.c32 strncopy(name, meth->name, namesize);
/ast/src/lib/libast/include/
H A Dast.h337 extern char* strncopy(char*, const char*, size_t);
/ast/src/lib/libpp/
H A Dppargs.c174 strncopy(pp.token, comment, MAXTOKEN);
/ast/src/cmd/sortlib/vcodex/
H A Dvcodex.c211 strncopy(state->input.suffix, s, sizeof(state->input.suffix));
/ast/src/cmd/codexlib/compress/
H A Dcompress.c438 strncopy(name, meth->name, namesize);

Completed in 40 milliseconds

12