Searched refs:strlcpy (Results 26 - 50 of 1186) sorted by relevance

1234567891011>>

/freebsd-12-stable/crypto/heimdal/appl/ftp/ftp/
H A Ddomacro.c59 strlcpy(line2, line, sizeof(line2));
84 if (strlcpy(cp2, argv[j+1], len) >= len)
95 if (strlcpy(cp2, argv[count], len) >= len)
136 strlcpy(line, line2, sizeof(line));
/freebsd-12-stable/contrib/ldns/compat/
H A Dstrlcpy.c1 /* from openssh 4.3p2 compat/strlcpy.c */
18 /* OPENBSD ORIGINAL: lib/libc/string/strlcpy.c */
32 strlcpy(char *dst, const char *src, size_t siz) function
/freebsd-12-stable/contrib/bmake/
H A Dstrlcpy.c1 /* $NetBSD: strlcpy.c,v 1.3 2007/06/04 18:19:27 christos Exp $ */
2 /* $OpenBSD: strlcpy.c,v 1.7 2003/04/12 21:56:39 millert Exp $ */
36 strlcpy(char *dst, const char *src, size_t siz) function
/freebsd-12-stable/crypto/heimdal/lib/roken/
H A Dstrlcat.c57 return len + strlcpy (dst + len, src, dst_sz - len);
/freebsd-12-stable/sys/libkern/
H A Dstrlcpy.c1 /* $OpenBSD: strlcpy.c,v 1.12 2015/01/15 03:54:12 millert Exp $ */
31 strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize) function
/freebsd-12-stable/sbin/ifconfig/
H A Diffib.c54 strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
60 strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
79 strlcpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
98 strlcpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
H A Difgroup.c55 strlcpy(ifgr.ifgr_name, name, IFNAMSIZ);
60 if (strlcpy(ifgr.ifgr_group, group_name, IFNAMSIZ) >= IFNAMSIZ)
73 strlcpy(ifgr.ifgr_name, name, IFNAMSIZ);
78 if (strlcpy(ifgr.ifgr_group, group_name, IFNAMSIZ) >= IFNAMSIZ)
92 strlcpy(ifgr.ifgr_name, name, IFNAMSIZ);
139 strlcpy(ifgr.ifgr_name, groupname, sizeof(ifgr.ifgr_name));
H A Diflagg.c45 strlcpy(rp.rp_ifname, name, sizeof(rp.rp_ifname));
46 strlcpy(rp.rp_portname, val, sizeof(rp.rp_portname));
67 strlcpy(rp.rp_ifname, name, sizeof(rp.rp_ifname));
68 strlcpy(rp.rp_portname, val, sizeof(rp.rp_portname));
93 strlcpy(ra.ra_ifname, name, sizeof(ra.ra_ifname));
105 strlcpy(ro.ro_ifname, name, sizeof(ro.ro_ifname));
120 strlcpy(ro.ro_ifname, name, sizeof(ro.ro_ifname));
152 strlcpy(ro.ro_ifname, name, sizeof(ro.ro_ifname));
181 strlcpy(rf.rf_ifname, name, sizeof(rf.rf_ifname));
229 strlcpy(r
[all...]
/freebsd-12-stable/lib/libc/net/
H A Dgai_strerror.c105 strlcpy(buf, catgets(catd, 3, ecode, ai_errlist[ecode]),
108 strlcpy(buf, catgets(catd, 3, NL_MSGMAX - 1, "Success"),
111 strlcpy(buf, catgets(catd, 3, NL_MSGMAX, "Unknown error"),
/freebsd-12-stable/sys/geom/vinum/
H A Dgeom_vinum_rename.c85 strlcpy(name, newname, GV_MAXVOLNAME);
95 strlcpy(name, newname, GV_MAXPLEXNAME);
105 strlcpy(name, newname, GV_MAXSDNAME);
115 strlcpy(name, newname, GV_MAXDRIVENAME);
137 strlcpy(d->name, newname, sizeof(d->name));
139 strlcpy(d->hdr->label.name, newname, sizeof(d->hdr->label.name));
142 strlcpy(s->drive, d->name, sizeof(s->drive));
173 strlcpy(p->name, newname, sizeof(p->name));
177 strlcpy(s->plex, p->name, sizeof(s->plex));
220 strlcpy(
[all...]
/freebsd-12-stable/sbin/dhclient/
H A Dinet.c114 strlcpy(pbuf, "<null address>", sizeof(pbuf));
118 strlcpy(pbuf, s, sizeof(pbuf));
120 strlcpy(pbuf, "<invalid address>", sizeof(pbuf));
/freebsd-12-stable/usr.bin/talk/
H A Dget_names.c114 strlcpy(msg.l_name, my_name, NAME_SIZE);
115 strlcpy(msg.r_name, his_name, NAME_SIZE);
116 strlcpy(msg.r_tty, his_tty, TTY_SIZE);
/freebsd-12-stable/contrib/tnftp/src/
H A Ddomacro.c77 (void)strlcpy(line2, line, sizeof(line2));
96 (void)strlcpy(cp2, argv[j+1],
106 (void)strlcpy(cp2, argv[count],
137 (void)strlcpy(cmdbuf, c->c_name, sizeof(cmdbuf));
142 (void)strlcpy(line, line2, sizeof(line));
/freebsd-12-stable/sbin/hastd/
H A Dparse.y144 if (strlcpy(depth0_control, $2,
155 if (strlcpy(lconfig->hc_controladdr, $2,
174 if (strlcpy(depth0_pidfile, $2,
185 if (strlcpy(lconfig->hc_pidfile, $2,
210 if (strlcpy(lst->hl_addr, $2, sizeof(lst->hl_addr)) >=
331 if (strlcpy(depth0_exec, $2, sizeof(depth0_exec)) >=
340 if (strlcpy(curres->hr_exec, $2,
447 strlcpy(curres->hr_provname, depth1_provname,
457 strlcpy(curres->hr_localpath, depth1_localpath,
473 strlcpy(curre
[all...]
/freebsd-12-stable/crypto/heimdal/lib/kafs/
H A DMakefile.am58 ROKEN_SRCS = resolve.c strtok_r.c strlcpy.c strsep.c
89 strlcpy.c:
90 $(LN_S) $(srcdir)/../roken/strlcpy.c .
/freebsd-12-stable/contrib/ntp/libntp/
H A Dnumtohost.c40 strlcpy(bp, hp->h_name, LIB_BUFLENGTH);
/freebsd-12-stable/contrib/tcpdump/
H A Dinterface.h57 extern size_t strlcpy(char *, const char *, size_t);
/freebsd-12-stable/contrib/dma/
H A Ddfcompat.c18 * $OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp $
20 * $DragonFly: src/lib/libc/string/strlcpy.c,v 1.4 2005/09/18 16:32:34 asmodai Exp $
34 strlcpy(char *dst, const char *src, size_t siz) function
/freebsd-12-stable/lib/libc/gen/
H A D__xuname.c58 strlcpy(q, p, namesize);
86 strlcpy(q, p, namesize);
102 strlcpy(q, p, namesize);
131 strlcpy(q, p, namesize);
H A Dcheck_utility_compat.c56 strlcpy(buf, p, sizeof buf);
/freebsd-12-stable/lib/libifconfig/
H A Dlibifconfig_carp.c52 strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
H A Dlibifconfig.c67 strlcpy(ndifreq.ifname, name, sizeof(ndifreq.ifname));
178 (void)strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
237 (void)strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
262 (void)strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
286 (void)strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
347 (void)strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
363 (void)strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
379 (void)strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
394 strlcpy(nd->ifname, name, sizeof(nd->ifname));
413 (void)strlcpy(if
[all...]
/freebsd-12-stable/usr.sbin/fstyp/
H A Dcd9660.c58 strlcpy(label, volume, MIN(size, VOLUME_LEN));
H A Dufs.c55 strlcpy(label, fs->fs_volname, labelsize);
/freebsd-12-stable/contrib/netbsd-tests/kernel/kqueue/
H A Dt_ioctl.c101 (void)strlcpy(buf, *test, sizeof(buf));
106 (void)strlcpy(buf, "NOTREG_FILTER", sizeof(buf));

Completed in 292 milliseconds

1234567891011>>