Home
last modified time | relevance | path

Searched refs:strncopy (Results 1 – 25 of 129) sorted by relevance

123456

/dports/shells/ksh93/ast-93u/src/lib/libast/path/
H A Dpathprobe.c133 strncopy(buf, proc, p - proc + 1); in pathprobe_20100601()
141 strncopy(proc + n, p, PATH_MAX - n - 1); in pathprobe_20100601()
156 strncopy(p, key, x - p); in pathprobe_20100601()
160 e = strncopy(p, probe, x - p); in pathprobe_20100601()
176 strncopy(np, probe, nx - np); in pathprobe_20100601()
204 strncopy(p, key, x - p); in pathprobe_20100601()
214 strncopy(p, k, x - p); in pathprobe_20100601()
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libast/path/
H A Dpathprobe.c133 strncopy(buf, proc, p - proc + 1); in pathprobe_20100601()
141 strncopy(proc + n, p, PATH_MAX - n - 1); in pathprobe_20100601()
156 strncopy(p, key, x - p); in pathprobe_20100601()
160 e = strncopy(p, probe, x - p); in pathprobe_20100601()
176 strncopy(np, probe, nx - np); in pathprobe_20100601()
204 strncopy(p, key, x - p); in pathprobe_20100601()
214 strncopy(p, k, x - p); in pathprobe_20100601()
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libast/path/
H A Dpathprobe.c133 strncopy(buf, proc, p - proc + 1); in pathprobe_20100601()
141 strncopy(proc + n, p, PATH_MAX - n - 1); in pathprobe_20100601()
156 strncopy(p, key, x - p); in pathprobe_20100601()
160 e = strncopy(p, probe, x - p); in pathprobe_20100601()
176 strncopy(np, probe, nx - np); in pathprobe_20100601()
204 strncopy(p, key, x - p); in pathprobe_20100601()
214 strncopy(p, k, x - p); in pathprobe_20100601()
/dports/math/aribas/aribas-1.64/src/
H A Dmainloop.c263 strncopy(home,str,MAXPFADLEN);
267 n = strncopy(home,argv0,MAXPFADLEN);
296 n = strncopy(buf,popt->home,MAXPFADLEN);
298 strncopy(buf+n+1,CfgFile,MAXPFADLEN-n);
305 strncopy(buf,str,MAXPFADLEN);
341 strncopy(buf,str,MAXPFADLEN);
346 strncopy(buf,str,MAXPFADLEN);
398 strncopy(buf,str,MAXPFADLEN);
405 strncopy(buf,str,MAXPFADLEN);
446 strncopy(path+n+1,HelpFile,MAXPFADLEN-n);
[all …]
H A Dfile.c168 strncopy(str0,str,IOBUFSIZE);
283 n = strncopy(hbuf,home,MAXPFADLEN);
286 strncopy(hbuf+n,buf+1,MAXPFADLEN-n);
287 strncopy(buf,hbuf,MAXPFADLEN);
298 n = strncopy(name,str,MAXPFADLEN);
824 strncopy(pfad,STRINGPTR(argStkPtr),MAXPFADLEN); in Fsetcwd()
/dports/shells/ksh93/ast-93u/src/cmd/mailx/
H A Dmisc.c360 strncopy(user = temp, addr, sizeof(temp)); in normalize()
404 p = strncopy(p, uucp, e - p); in normalize()
405 p = strncopy(p, "!", e - p); in normalize()
407 p = strncopy(p, user, e - p); in normalize()
409 p = strncopy(p, "%", e - p); in normalize()
410 p = strncopy(p, arpa, e - p); in normalize()
413 p = strncopy(p, "@", e - p); in normalize()
414 p = strncopy(p, inet, e - p); in normalize()
735 strncopy(register char* t, register const char* f, size_t n) in strncopy() function
H A Dhead.c168 strncopy(ap->type, data, size + 1); in content()
175 strncopy(ap->opts, s, size + 1); in content()
191 strncopy(ap->code, data, size + 1); in content()
203 strncopy(ap->name, data, size + 1); in content()
799 s = strncopy(namebuf, s, e - namebuf); in grabtype()
803 s = strncopy(t, s, e - t); in grabtype()
804 strncopy(s, "!", e - s); in grabtype()
895 t = strncopy(hl->l_info = t, s, e - t); in parse()
902 t = strncopy(hl->l_from = t, s, e - t - 1) + 1; in parse()
905 t = strncopy(hl->l_info = t, s, e - t); in parse()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/mailx/
H A Dmisc.c360 strncopy(user = temp, addr, sizeof(temp)); in normalize()
404 p = strncopy(p, uucp, e - p); in normalize()
405 p = strncopy(p, "!", e - p); in normalize()
407 p = strncopy(p, user, e - p); in normalize()
409 p = strncopy(p, "%", e - p); in normalize()
410 p = strncopy(p, arpa, e - p); in normalize()
413 p = strncopy(p, "@", e - p); in normalize()
414 p = strncopy(p, inet, e - p); in normalize()
735 strncopy(register char* t, register const char* f, size_t n) in strncopy() function
H A Dhead.c168 strncopy(ap->type, data, size + 1); in content()
175 strncopy(ap->opts, s, size + 1); in content()
191 strncopy(ap->code, data, size + 1); in content()
203 strncopy(ap->name, data, size + 1); in content()
799 s = strncopy(namebuf, s, e - namebuf); in grabtype()
803 s = strncopy(t, s, e - t); in grabtype()
804 strncopy(s, "!", e - s); in grabtype()
895 t = strncopy(hl->l_info = t, s, e - t); in parse()
902 t = strncopy(hl->l_from = t, s, e - t - 1) + 1; in parse()
905 t = strncopy(hl->l_info = t, s, e - t); in parse()
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/mailx/
H A Dmisc.c360 strncopy(user = temp, addr, sizeof(temp)); in normalize()
404 p = strncopy(p, uucp, e - p); in normalize()
405 p = strncopy(p, "!", e - p); in normalize()
407 p = strncopy(p, user, e - p); in normalize()
409 p = strncopy(p, "%", e - p); in normalize()
410 p = strncopy(p, arpa, e - p); in normalize()
413 p = strncopy(p, "@", e - p); in normalize()
414 p = strncopy(p, inet, e - p); in normalize()
735 strncopy(register char* t, register const char* f, size_t n) in strncopy() function
H A Dhead.c168 strncopy(ap->type, data, size + 1); in content()
175 strncopy(ap->opts, s, size + 1); in content()
191 strncopy(ap->code, data, size + 1); in content()
203 strncopy(ap->name, data, size + 1); in content()
881 s = strncopy(namebuf, s, e - namebuf); in grabtype()
885 s = strncopy(t, s, e - t); in grabtype()
886 strncopy(s, "!", e - s); in grabtype()
977 t = strncopy(hl->l_info = t, s, e - t); in parse()
984 t = strncopy(hl->l_from = t, s, e - t - 1) + 1; in parse()
987 t = strncopy(hl->l_info = t, s, e - t); in parse()
[all …]
/dports/net-mgmt/cacti88-spine/cacti-spine-0.8.8h/
H A Dutil.h60 extern char *strncopy(char *dst, const char *src, size_t n);
71 #define STRNCOPY(dst, src) strncopy((dst), (src), sizeof(dst))
/dports/shells/ksh93/ast-93u/src/lib/libdss/
H A Ddssmagic.c42 strncopy(magic.name, name, sizeof(magic.name)); in dssmagic()
43 strncopy(magic.type, type, sizeof(magic.type)); in dssmagic()
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libdss/
H A Ddssmagic.c42 strncopy(magic.name, name, sizeof(magic.name)); in dssmagic()
43 strncopy(magic.type, type, sizeof(magic.type)); in dssmagic()
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libdss/
H A Ddssmagic.c42 strncopy(magic.name, name, sizeof(magic.name)); in dssmagic()
43 strncopy(magic.type, type, sizeof(magic.type)); in dssmagic()
/dports/net-mgmt/cacti-spine/cacti-spine-1.2.17/
H A Dutil.h63 extern char *strncopy(char *dst, const char *src, size_t n);
74 #define STRNCOPY(dst, src) strncopy((dst), (src), sizeof(dst))
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libast/string/
H A Dstrncopy.c33 strncopy(register char* t, register const char* f, size_t n) in strncopy() function
/dports/shells/ksh93/ast-93u/src/lib/libast/string/
H A Dstrncopy.c33 strncopy(register char* t, register const char* f, size_t n) in strncopy() function
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libast/string/
H A Dstrncopy.c33 strncopy(register char* t, register const char* f, size_t n) in strncopy() function
/dports/shells/ksh93/ast-93u/src/cmd/dsslib/opaque/
H A Dopaque.c180 strncopy(opaque->magic.name, opt_info.arg, sizeof(opaque->magic.name)); in opaquemeth()
187 strncopy(opaque->magic.type, opt_info.arg, sizeof(opaque->magic.type)); in opaquemeth()
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/dsslib/opaque/
H A Dopaque.c180 strncopy(opaque->magic.name, opt_info.arg, sizeof(opaque->magic.name)); in opaquemeth()
187 strncopy(opaque->magic.type, opt_info.arg, sizeof(opaque->magic.type)); in opaquemeth()
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/dsslib/opaque/
H A Dopaque.c180 strncopy(opaque->magic.name, opt_info.arg, sizeof(opaque->magic.name)); in opaquemeth()
187 strncopy(opaque->magic.type, opt_info.arg, sizeof(opaque->magic.type)); in opaquemeth()
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libcodex/
H A Dcodexpass.c38 return strncopy((char*)buf, disc->passphrase, n) - (char*)buf; in codexpass()
/dports/shells/ksh93/ast-93u/src/lib/libcodex/
H A Dcodexpass.c38 return strncopy((char*)buf, disc->passphrase, n) - (char*)buf; in codexpass()
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libcodex/
H A Dcodexpass.c36 return strncopy((char*)buf, disc->passphrase, n) - (char*)buf; in codexpass()

123456