Searched refs:strncpy (Results 1 - 25 of 804) sorted by relevance

1234567891011>>

/freebsd-10.3-release/contrib/gcclibs/libiberty/
H A Dstpncpy.c38 extern char *strncpy (char *, const char *, size_t);
46 return strncpy (dst, src, len) + n;
/freebsd-10.3-release/contrib/opie/libopie/
H A Dlogwtmp.c148 strncpy(ut.ut_id, id, sizeof(ut.ut_id));
153 strncpy(ut.ut_line, line, sizeof(ut.ut_line));
154 strncpy(ut.ut_name, name, sizeof(ut.ut_name));
156 strncpy(ut.ut_host, host, sizeof(ut.ut_host));
170 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
171 strncpy(utx.ut_name, name, sizeof(utx.ut_name));
172 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
180 strncpy(utx.ut_id, id, sizeof(utx.ut_id));
H A Dlogin.c59 strncpy(u.ut_line, line + 5, sizeof(u.ut_line));
61 strncpy(u.ut_line, line, sizeof(u.ut_line));
68 strncpy(id, u.ut_id, sizeof(u.ut_id));
80 strncpy(u.ut_name, name, sizeof(u.ut_name));
86 strncpy(u.ut_host, host, sizeof(u.ut_host));
H A Dgetutmpentry.c55 strncpy(u.ut_line, line + 5, sizeof(u.ut_line));
62 strncpy(u.ut_line + 4, line + 5, sizeof(u.ut_line) - 4);
69 strncpy(u.ut_line, line, sizeof(u.ut_line));
/freebsd-10.3-release/contrib/gcclibs/libssp/
H A Dstrncpy-chk.c1 /* Checking strncpy.
51 return strncpy (dest, src, len);
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/ssp/
H A Dh_strncpy.c43 (void)strncpy(b, "1020202020202", len);
H A Dh_stpncpy.c51 (void)strncpy(b, "1020202020202", len);
/freebsd-10.3-release/lib/libc/string/
H A Dstrncpy.c34 static char sccsid[] = "@(#)strncpy.c 8.1 (Berkeley) 6/4/93";
37 __FBSDID("$FreeBSD: releng/10.3/lib/libc/string/strncpy.c 251069 2013-05-28 20:57:40Z emaste $");
46 strncpy(char * __restrict dst, const char * __restrict src, size_t n) function
/freebsd-10.3-release/sys/libkern/
H A Dstrncpy.c34 __FBSDID("$FreeBSD: releng/10.3/sys/libkern/strncpy.c 128019 2004-04-07 20:46:16Z imp $");
43 strncpy(char * __restrict dst, const char * __restrict src, size_t n) function
/freebsd-10.3-release/crypto/heimdal/appl/login/
H A Dutmp_login.c66 strncpy (dst, hostname, dst_sz);
75 strncpy (dst, hostname, dst_sz);
92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line));
93 strncpy(utmp->ut_name, username, sizeof(utmp->ut_name));
96 strncpy(utmp->ut_user, username, sizeof(utmp->ut_user));
121 strncpy(utmp->ut_id, make_id(ttyx), sizeof(utmp->ut_id));
H A Dutmpx_login.c35 strncpy(ut->ut_line, clean_tty, sizeof(ut->ut_line));
37 strncpy(ut->ut_id, make_id(clean_tty), sizeof(ut->ut_id));
39 strncpy(ut->ut_user, user, sizeof(ut->ut_user));
/freebsd-10.3-release/contrib/ipfilter/lib/
H A Dportname.c24 strncpy(buf, sv->s_name, sizeof(buf)-1);
34 strncpy(buf, sv->s_name, sizeof(buf)-1);
H A Dremove_hash.c31 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name));
40 strncpy(iph.iph_name, iphp->iph_name, sizeof(iph.iph_name));
H A Dremove_pool.c31 strncpy(op.iplo_name, poolp->ipo_name, sizeof(op.iplo_name));
37 strncpy(pool.ipo_name, poolp->ipo_name, sizeof(pool.ipo_name));
H A Dremove_poolnode.c34 strncpy(op.iplo_name, name, sizeof(op.iplo_name));
44 strncpy(pn.ipn_name, node->ipn_name, sizeof(pn.ipn_name));
H A Dprintlookup.c38 strncpy(name, base + addr->iplookupname, sizeof(name));
H A Dload_pool.c33 strncpy(op.iplo_name, plp->ipo_name, sizeof(op.iplo_name));
38 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name));
52 strncpy(pool.ipo_name, op.iplo_name, sizeof(pool.ipo_name));
H A Dkvatoname.c36 strncpy(funcname, res.ipfu_name, sizeof(funcname));
H A Dnametokva.c23 strncpy(res.ipfu_name, name, sizeof(res.ipfu_name));
/freebsd-10.3-release/lib/libcompat/4.4/
H A Dcuserid.c52 (void)strncpy(s, pwd->pw_name, L_cuserid);
/freebsd-10.3-release/sbin/ifconfig/
H A Diffib.c52 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
58 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
77 strncpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
96 strncpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
/freebsd-10.3-release/lib/libulog/
H A Dulog_login.c53 strncpy(utx->ut_line, line, sizeof utx->ut_line);
70 strncpy(utx.ut_user, user, sizeof utx.ut_user);
72 strncpy(utx.ut_host, host, sizeof utx.ut_host);
/freebsd-10.3-release/libexec/ftpd/
H A Dlogwtmp.c62 (void)strncpy(ut.ut_user, user, sizeof(ut.ut_user));
73 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id));
74 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line));
/freebsd-10.3-release/crypto/heimdal/appl/ftp/ftpd/
H A Dlogwtmp.c132 strncpy(ut.ut_line, line, sizeof(ut.ut_line));
133 strncpy(ut.ut_name, name, sizeof(ut.ut_name));
138 strncpy(ut.ut_host, host, sizeof(ut.ut_host));
144 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
145 strncpy(utx.ut_user, name, sizeof(utx.ut_user));
146 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
/freebsd-10.3-release/usr.bin/mkimg/
H A Dapm.c91 strncpy(ent->ent_type, APM_ENT_TYPE_SELF, sizeof(ent->ent_type));
92 strncpy(ent->ent_name, "Apple", sizeof(ent->ent_name));
100 strncpy(ent->ent_type, ALIAS_TYPE2PTR(part->type),
103 strncpy(ent->ent_name, part->label,

Completed in 272 milliseconds

1234567891011>>