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

1234567891011>>

/freebsd-10.0-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.0-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.0-release/contrib/gcclibs/libssp/
H A Dstrncpy-chk.c1 /* Checking strncpy.
51 return strncpy (dest, src, len);
/freebsd-10.0-release/lib/libc/string/
H A Dstrncpy.c34 static char sccsid[] = "@(#)strncpy.c 8.1 (Berkeley) 6/4/93";
46 strncpy(char * __restrict dst, const char * __restrict src, size_t n) function
/freebsd-10.0-release/sys/libkern/
H A Dstrncpy.c43 strncpy(char * __restrict dst, const char * __restrict src, size_t n) function
/freebsd-10.0-release/contrib/lukemftpd/src/
H A Dlogwtmp.c95 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
96 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
97 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
127 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
128 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
129 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
/freebsd-10.0-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.0-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.0-release/lib/libc/mips/string/
H A DMakefile.inc7 strncat.c strncmp.c strncpy.c strrchr.S strpbrk.c strsep.c \
/freebsd-10.0-release/contrib/ntp/libntp/
H A Dnumtohost.c36 (void) strncpy(bp, hp->h_name, LIB_BUFLENGTH-1);
/freebsd-10.0-release/lib/libcompat/4.4/
H A Dcuserid.c52 (void)strncpy(s, pwd->pw_name, L_cuserid);
/freebsd-10.0-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.0-release/libexec/ftpd/
H A Dlogwtmp.c66 (void)strncpy(ut.ut_user, user, sizeof(ut.ut_user));
77 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id));
78 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line));
/freebsd-10.0-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.0-release/contrib/ipfilter/ipsend/
H A Dsirix.c48 strncpy(sr.sr_ifname, device, sizeof(sr.sr_ifname));
76 strncpy(ifr.ifr_name, sr.sr_ifname, sizeof ifr.ifr_name);

Completed in 447 milliseconds

1234567891011>>