Symbol: strncpy
bin/df/df.c
541
strncpy(strptr, listptr[i], 32);
bin/ed/cbc.c
274
strncpy(obuf, kbuf, 8);
bin/pax/ar_subs.c
806
strncpy(dest_pt, arcn->name + res, drem);
bin/ps/print.c
653
strncpy(str, "normal", sizeof(str));
bin/ps/ps.c
494
strncpy(name, arg, l);
crypto/openssh/loginrec.c
1694
strncpy(ut.ut_user, username, sizeof(ut.ut_user));
crypto/openssh/loginrec.c
1703
strncpy(ut.ut_host, hostname, sizeof(ut.ut_host));
crypto/openssh/loginrec.c
622
strncpy(dst, src, (size_t)dstsize);
crypto/openssh/loginrec.c
694
strncpy(ut->ut_name, li->username,
crypto/openssh/loginrec.c
697
strncpy(ut->ut_host, li->hostname,
crypto/openssh/loginrec.c
767
strncpy(utx->ut_user, li->username,
crypto/openssh/loginrec.c
779
strncpy(utx->ut_host, li->hostname,
games/hack/hack.end.c
360
(void) strncpy(t0->name, plname, NAMSZ);
games/hack/hack.end.c
362
(void) strncpy(t0->death, killer, DTHSZ);
games/hack/hack.main.c
153
(void) strncpy(plname, s, sizeof(plname) - 1);
games/hack/hack.main.c
155
(void) strncpy(plname, s, sizeof(plname) - 1);
games/hack/hack.main.c
157
(void) strncpy(plname, s, sizeof(plname) - 1);
games/hack/hack.main.c
220
(void) strncpy(plname, argv[0] + 2, sizeof(plname) - 1);
games/hack/hack.main.c
224
(void) strncpy(plname, argv[0], sizeof(plname) - 1);
games/hack/hack.main.c
230
(void) strncpy(pl_character, argv[0] + 1,
games/hack/hack.objnam.c
84
(void) strncpy(s, pref, i); /* do not copy trailing 0 */
games/hack/hack.options.c
165
(void) strncpy(plname, op + 1, sizeof(plname) - 1);
games/hack/hack.pager.c
111
(void) strncpy(buf + 1, " ", 7);
games/hack/hack.shk.c
317
(void) strncpy(ESHK(shopkeeper)->customer, plname, PL_NSIZ);
games/hack/hack.shknam.c
226
(void) strncpy(nampt, q[i], PL_NSIZ);
games/hack/hack.u_init.c
246
(void) strncpy(pl_character, roles[i], PL_CSIZ - 1);
games/hack/makedefs.c
228
(void) strncpy(string, identif, 3),
games/larn/main.c
195
strncpy(optsfile, argv[i] + 2, 127);
games/robots/score.c
144
strncpy(scp->s_name, "???", MAXNAME);
games/robots/score.c
146
strncpy(scp->s_name, pp->pw_name, MAXNAME);
games/rogue/init.c
326
strncpy(*s, t, i);
games/rogue/score.c
552
strncpy(buf, score, 16);
include/string.h
118
char *strncpy(char * __restrict, const char * __restrict, size_t);
lib/libalias/alias_ftp.c
541
strncpy(sptr, stemp, maxpacketsize-hlen);
lib/libc/gen/fstab.c
68
strncpy(fstab_path, file, PATH_MAX);
lib/libc/gen/getlogin.c
95
strncpy(logname, result, len);
lib/libc/gen/setproctitle.c
182
strncpy(obuf, OLD_PS_STRINGS->old_ps_argvstr,
lib/libc/gen/syslog.c
355
strncpy(SyslogAddr.sun_path, _PATH_LOG_PRIV,
lib/libc/gen/syslog.c
362
strncpy(SyslogAddr.sun_path, _PATH_LOG,
lib/libc/gen/syslog.c
374
strncpy(SyslogAddr.sun_path, _PATH_OLDLOG,
lib/libc/locale/setlocale.c
307
strncpy(res, np, len);
lib/libc/locale/xlocale.c
218
strncpy(new->components[type]->locale, src->locale,
lib/libc/locale/xlocale.c
294
strncpy(lres, np, len);
lib/libc/locale/xlocale.c
311
strncpy(new->components[type]->locale,
lib/libc/net/ether_addr.c
169
strncpy(buf, result, resultlen);
lib/libc/net/ether_addr.c
217
strncpy(buf, result, resultlen);
lib/libc/net/eui64.c
244
strncpy(buf, result, resultlen);
lib/libc/net/eui64.c
293
strncpy(buf, result, resultlen);
lib/libc/net/getaddrinfo.c
2681
strncpy(nbuf, name, n);
lib/libc/net/getaddrinfo.c
804
strncpy(ifr6.ifr_name, "lo0", sizeof(ifr6.ifr_name));
lib/libc/net/gethostbydns.c
637
strncpy(hname2, he.h_name, MAXDNAME);
lib/libc/net/gethostnamadr.c
449
strncpy(hed->hostbuf, name, MAXDNAME);
lib/libc/net/getnetbydns.c
206
strncpy(&ans[0], bp, sizeof(ans) - 1);
lib/libc/net/getnetbydns.c
407
strncpy(qbuf, net, sizeof(qbuf) - 1);
lib/libc/net/if_indextoname.c
82
strncpy(ifname, ifa->ifa_name, IFNAMSIZ);
lib/libc/net/name6.c
883
strncpy(ifr6.ifr_name, "lo0", sizeof(ifr6.ifr_name));
lib/libc/net/nscachedcli.c
205
strncpy(client_address.sun_path, params->socket_path,
lib/libc/net/rcmd.c
131
strncpy(canonnamebuf, res->ai_canonname, sizeof(canonnamebuf));
lib/libc/net/rcmdsh.c
98
strncpy(hbuf, res->ai_canonname, sizeof(hbuf) - 1);
lib/libc/resolv/res_debug.c
720
strncpy(buf, ret, size - 1);
lib/libc/resolv/res_init.c
259
strncpy(statp->defdname, cp,
lib/libc/resolv/res_init.c
268
(void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
lib/libc/resolv/res_init.c
322
strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
lib/libc/resolv/res_init.c
338
strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
lib/libc/resolv/res_init.c
605
strncpy(ext->nsuffix, cp, i);
lib/libc/resolv/res_init.c
613
strncpy(ext->nsuffix2, cp, i);
lib/libc/resolv/res_query.c
382
strncpy(nbuf, name, n);
lib/libc/resolv/res_query.c
426
strncpy(dst, cp1, siz - 1);
lib/libc/resolv/res_send.c
1155
strncpy(hbuf, "?", sizeof(hbuf) - 1);
lib/libc/resolv/res_send.c
1157
strncpy(sbuf, "?", sizeof(sbuf) - 1);
lib/libc/rpc/clnt_perror.c
94
strncpy(str, clnt_sperrno(e.re_status), len - 1);
lib/libc/rpc/getpublickey.c
77
strncpy(publickey, lookup, HEXKEYBYTES);
lib/libc/rpc/netnamer.c
122
strncpy(val, val1, 1024);
lib/libc/rpc/netnamer.c
202
strncpy(hostname, val + 2, hostlen);
lib/libc/rpc/netnamer.c
218
strncpy(hostname, val, vallen);
lib/libc/rpc/rpc_generic.c
723
strncpy(sun->sun_path, addrstr, sizeof(sun->sun_path) - 1);
lib/libc/rpc/rpcb_clnt.c
376
strncpy(*targaddr, _PATH_RPCBINDSOCK,
lib/libc/rpc/rpcb_clnt.c
693
strncpy(sun.sun_path, _PATH_RPCBINDSOCK, sizeof(sun.sun_path));
lib/libc/stdtime/localtime.c
1168
strncpy(cp, stdname, stdlen);
lib/libc/stdtime/localtime.c
1172
strncpy(cp, dstname, dstlen);
lib/libc/stdtime/strptime.c
542
strncpy(zonestr, buf, cp - buf);
lib/libcompat/4.4/cuserid.c
49
(void)strncpy(s, pwd->pw_name, L_cuserid);
lib/libcrypt/crypt-des.c
640
strncpy(output, setting, 9);
lib/libdevattr/devattr.c
255
strncpy(serv_addr.sun_path, sockfile, SOCKFILE_NAMELEN);
lib/libdevstat/devstat.c
199
strncpy(devstat_errbuf, tmpstr, DEVSTAT_ERRBUF_SIZE);
lib/libdevstat/devstat.c
506
strncpy((*dev_select)[i].device_name,
lib/libfetch/common.c
462
strncpy(ptr, host, strlen(host));
lib/libfetch/file.c
140
strncpy(fn, u->doc, sizeof(fn) - 2);
lib/libfetch/file.c
147
strncpy(p, de->d_name, l - 1);
lib/libftpio/ftpio.c
462
strncpy(url, url_in, BUFSIZ);
lib/libnetgraph/msg.c
128
strncpy(ascii->header.cmdstr, cmd, sizeof(ascii->header.cmdstr) - 1);
lib/libnetgraph/msg.c
313
strncpy(reply->data, ascii->data, ascii->header.arglen);
lib/libnetgraph7/msg.c
125
strncpy((char *)ascii->header.cmdstr, cmd,
lib/libnetgraph7/msg.c
356
strncpy(reply->data, ascii->data, ascii->header.arglen);
lib/libpam/modules/pam_lastlog/pam_lastlog.c
217
(void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
219
(void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
223
(void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
228
(void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id),
lib/libpam/modules/pam_lastlog/pam_lastlog.c
231
(void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
255
(void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
258
(void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host));
lib/librpcsvc/secretkey.c
79
strncpy(secretkey, p, HEXKEYBYTES);
lib/libtcplay/tcplay.c
1247
strncpy(pass, new_passphrase, MAX_PASSSZ);
lib/libtcplay/tcplay.c
1473
strncpy(tc_table->target, target_type,
lib/libtcplay/tcplay.c
1489
strncpy(tc_table->cipher, p1,
lib/libtcplay/tcplay.c
1563
strncpy(map, map_name, PATH_MAX);
lib/libtcplay/tcplay.c
1618
strncpy(info->dev, dm_table[outermost]->device, sizeof(info->dev));
lib/libtcplay/tcplay.c
377
strncpy(info->dev, dev, sizeof(info->dev));
lib/libtcplay/tcplay.c
595
strncpy(pass, opts->passphrase, MAX_PASSSZ);
lib/libtcplay/tcplay.c
643
strncpy(h_pass, opts->h_passphrase, MAX_PASSSZ);
lib/libtcplay/tcplay.c
914
strncpy(pass, opts->passphrase, MAX_PASSSZ);
lib/libtcplay/tcplay.c
949
strncpy(h_pass, opts->h_passphrase, MAX_PASSSZ);
lib/libtcplay/tcplay_api.c
743
strncpy(s, info->dev, sz);
lib/libtcplay/tcplay_api.c
748
strncpy(s, buf, sz);
lib/libtcplay/tcplay_api.c
753
strncpy(s, info->pbkdf_prf->name, sz);
lib/libtcplay/tcplay_api.c
755
strncpy(s, "(unknown)", sz);
lib/libtelnet/krb4encpwd.c
349
strncpy((char *)buf, " REJECT ", buflen);
lib/libtelnet/krb4encpwd.c
353
strncpy((char *)buf, " ACCEPT ", buflen);
lib/libtelnet/krb4encpwd.c
366
strncpy((char *)buf, " AUTH", buflen);
lib/libtelnet/krb4encpwd.c
370
strncpy((char *)buf, " CHALLENGE", buflen);
lib/libtelnet/krb4encpwd.c
374
strncpy((char *)buf, " ACK", buflen);
lib/libtelnet/krb4encpwd.c
379
strncpy((char *)buf, lbuf, buflen);
lib/libtelnet/krb4encpwd.c
384
strncpy((char *)buf, lbuf, buflen);
lib/libtelnet/rsaencpwd.c
402
strncpy((char *)buf, " REJECT ", buflen);
lib/libtelnet/rsaencpwd.c
406
strncpy((char *)buf, " ACCEPT ", buflen);
lib/libtelnet/rsaencpwd.c
419
strncpy((char *)buf, " AUTH", buflen);
lib/libtelnet/rsaencpwd.c
423
strncpy((char *)buf, " CHALLENGEKEY", buflen);
lib/libtelnet/rsaencpwd.c
428
strncpy((char *)buf, lbuf, buflen);
lib/libtelnet/rsaencpwd.c
433
strncpy((char *)buf, lbuf, buflen);
lib/libtelnet/sra.c
367
strncpy(buf, " CONTINUE ", buflen);
lib/libtelnet/sra.c
371
strncpy(buf, " REJECT ", buflen);
lib/libtelnet/sra.c
375
strncpy(buf, " ACCEPT ", buflen);
lib/libtelnet/sra.c
389
strncpy(buf, " KEY ", buflen);
lib/libtelnet/sra.c
393
strncpy(buf, " USER ", buflen);
lib/libtelnet/sra.c
397
strncpy(buf, " PASS ", buflen);
lib/libtelnet/sra.c
402
strncpy(buf, lbuf, buflen);
lib/libtelnet/sra.c
408
strncpy(buf, lbuf, buflen);
lib/libusb/libusb_global_linux.h
73
strncpy(d,s,len); \
lib/libutil/logwtmpx.c
58
(void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
lib/libutil/logwtmpx.c
59
(void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
lib/libutil/logwtmpx.c
60
(void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
lib/libutil/realhostname.c
182
strncpy(host, buf, hsize);
lib/libutil/realhostname.c
192
strncpy(host, buf, hsize);
lib/libutil/realhostname.c
72
strncpy(host, trimmed, hsize);
lib/libutil/realhostname.c
79
strncpy(host, inet_ntoa(*ip), hsize);
libexec/bootpd/bootpd.c
926
strncpy(bp->bp_file, clntpath, BP_FILE_LEN);
libexec/bootpd/getether.c
85
strncpy(&ifrnit.ifr_name[0], ifname, IFNAMSIZ);
libexec/bootpd/tools/bootptest/bootptest.c
310
strncpy(bp->bp_file, bp_file, BP_FILE_LEN);
libexec/ftpd/ftpd.c
1035
strncpy(curname, name, sizeof(curname)-1);
libexec/ftpd/logwtmpx.c
58
(void)strncpy(ut.ut_user, user, sizeof(ut.ut_user));
libexec/ftpd/logwtmpx.c
69
(void)strncpy(ut.ut_id, id, sizeof(ut.ut_id));
libexec/ftpd/logwtmpx.c
70
(void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line));
libexec/getty/subr.c
88
strncpy(p, sp->value, l);
libexec/rbootd/bpf.c
100
(void) strncpy(ifr.ifr_name, IntfName, sizeof(ifr.ifr_name));
libexec/rtld-elf/rtld.c
1812
strncpy((filtered_path + fndx), hintpath->dls_name, flen);
libexec/rtld-elf/rtld.c
2848
strncpy(pathname, dir, dirlen);
libexec/rtld-elf/rtld.c
3538
strncpy(arg->strspace, dir, dirlen);
libexec/rtld-elf/rtld.c
3646
strncpy(bname, path, endp - path + 1);
libexec/telnetd/sys_term.c
53
#define SCPYN(a, b) (void) strncpy(a, b, sizeof(a))
libexec/telnetd/telnetd.c
552
(void) strncpy(first, terminaltype, sizeof(first)-1);
libexec/telnetd/telnetd.c
558
(void) strncpy(last, terminaltype, sizeof(last)-1);
libexec/telnetd/telnetd.c
578
(void) strncpy(terminaltype, first, TERMINAL_TYPE_SIZE-1);
libexec/telnetd/utility.c
382
(void) strncpy(res, host,
sbin/camcontrol/modeedit.c
283
strncpy(cval, newvalue, dest->size);
sbin/camcontrol/util.c
133
strncpy(p, (char *)arg, count);
sbin/devd/devd.cc
362
strncpy(ifmr.ifm_name, value.c_str(), sizeof(ifmr.ifm_name));
sbin/devfsctl/devfsctl.c
482
strncpy(dr->name, id->name, PATH_MAX-1);
sbin/devfsctl/devfsctl.c
499
strncpy(dr->linkname, r->dest, PATH_MAX-1);
sbin/devfsctl/devfsctl.c
519
strncpy(dr.mntpoint, mountp, PATH_MAX-1);
sbin/devfsctl/devfsctl.c
534
strncpy(dr.mntpoint, mountp, PATH_MAX-1);
sbin/devfsctl/devfsctl.c
892
strncpy(dummy_rule.mntpoint, mountp, PATH_MAX-1);
sbin/disklabel32/disklabel.c
363
strncpy(lp->d_packname, name, sizeof(lp->d_packname));
sbin/disklabel32/disklabel.c
899
strncpy(lp->d_typename, tp, sizeof (lp->d_typename));
sbin/disklabel32/disklabel.c
903
strncpy(lp->d_packname, tp, sizeof (lp->d_packname));
sbin/dump/itime.c
194
strncpy(dtwalk->dd_name, fname, sizeof (dtwalk->dd_name));
sbin/dump/main.c
310
strncpy(spcl.c_dev, dt->fs_spec, NAMELEN);
sbin/dump/main.c
311
strncpy(spcl.c_filesys, dt->fs_file, NAMELEN);
sbin/dump/main.c
313
strncpy(spcl.c_dev, disk, NAMELEN);
sbin/dump/main.c
314
strncpy(spcl.c_filesys, "an unlisted file system", NAMELEN);
sbin/dump/main.c
593
strncpy(rawbuf, cp, MAXPATHLEN - 1);
sbin/fsck/preen.c
221
strncpy(dk->name, name, len);
sbin/hammer/cmd_history.c
205
strncpy(ca->path, s, length - 1);
sbin/hammer/cmd_volume.c
130
strncpy(ioc.device_name, device, sizeof(ioc.device_name) - 1);
sbin/hammer/cmd_volume.c
88
strncpy(ioc.device_name, device, sizeof(ioc.device_name) - 1);
sbin/hammer/misc.c
154
strncpy(buf, ioc.vols[i].device_name, len - 1);
sbin/hammer2/cmd_setcomp.c
269
strncpy(name + length, dent->d_name, HAMMER2_INODE_MAXNAME -
sbin/init/init.c
1796
(void)strncpy(ut.ut_id, line, sizeof(ut.ut_id));
sbin/ipfw3/ipfw3table.c
362
strncpy(t->name, *av, strlen(*av));
sbin/mount_ntfs/mount_ntfs.c
238
strncpy(pargs->cs_ntfs, ENCODING_UNICODE, ICONV_CSNMAXLEN);
sbin/mount_ntfs/mount_ntfs.c
239
strncpy(pargs->cs_local, cs_local, ICONV_CSNMAXLEN);
sbin/mountd/mountd.c
2401
strncpy(mlp->ml_host, host, RPCMNT_NAMELEN);
sbin/mountd/mountd.c
2403
strncpy(mlp->ml_dirp, dirp, RPCMNT_PATHLEN);
sbin/mountd/mountd.c
2499
strncpy(mlp->ml_host, hostp, RPCMNT_NAMELEN);
sbin/mountd/mountd.c
2501
strncpy(mlp->ml_dirp, dirp, RPCMNT_PATHLEN);
sbin/ping/ping.c
500
strncpy(snamebuf, hp->h_name,
sbin/ping/ping.c
524
strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1);
sbin/ping6/ping6.c
2456
strncpy(hbuf, name, l);
sbin/restore/dirs.c
242
strncpy(locname, pname, sizeof(locname) - 1);
sbin/restore/dirs.c
437
strncpy(ndp->d_name, odp->d_name, ODIRSIZ);
sbin/restore/interactive.c
332
strncpy(name, curdir, size);
sbin/restore/interactive.c
367
strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
sbin/restore/interactive.c
521
strncpy(locname, name, MAXPATHLEN);
sbin/route/route.c
378
strncpy(line, cp, sizeof(line) - 1);
sbin/route/route.c
413
strncpy(line, "invalid", sizeof(line));
sbin/route/route.c
515
strncpy(line, cp, sizeof(line));
sbin/route/route.c
560
strncpy(line, "invalid", sizeof(line));
sbin/route/show.c
328
strncpy(cp, "default", len);
sbin/route/show.c
341
strncpy(cp, "default", len);
sbin/routed/if.c
734
strncpy(ifs0.int_name, sdl->sdl_data,
sbin/routed/if.c
872
strncpy(ifr.ifr_name, ifs.int_name, sizeof(ifr.ifr_name));
sbin/routed/main.c
293
strncpy(inittracename, tracename, sizeof(inittracename)-1);
sbin/routed/trace.c
351
strncpy(savetracename, fn, sizeof(savetracename)-1);
sbin/spppcontrol/spppcontrol.c
130
strncpy(spr.defs.myauth.name, argv[0] + off,
sbin/spppcontrol/spppcontrol.c
134
strncpy(spr.defs.myauth.secret, argv[0] + off,
sbin/spppcontrol/spppcontrol.c
147
strncpy(spr.defs.hisauth.name, argv[0] + off,
sbin/spppcontrol/spppcontrol.c
151
strncpy(spr.defs.hisauth.secret, argv[0] + off,
sbin/spppcontrol/spppcontrol.c
82
strncpy(ifr.ifr_name, ifname, sizeof ifr.ifr_name);
sbin/udevd/test_udevd.c
688
strncpy(serv_addr.sun_path, sockfile, SOCKFILE_NAMELEN);
sbin/udevd/udevd_socket.c
141
strncpy(un_addr.sun_path, sockfile, SOCKFILE_NAMELEN);
stand/boot/common/boot.c
291
strncpy(name, spec, len);
stand/boot/common/interp_parse.c
162
strncpy(buf + i, val, PARSE_BUFSIZE - (i + 1));
stand/boot/efi/loader/arch/x86_64/elf64_freebsd.c
111
strncpy(buf, rsdp->OemId, sizeof(rsdp->OemId));
stand/boot/pc32/libi386/biosacpi.c
66
strncpy(buf, rsdp->OemId, sizeof(rsdp->OemId));
stand/lib/bootp.c
118
strncpy(bp->bp_file, bootfile, sizeof(bp->bp_file));
stand/lib/bootp.c
359
strncpy(rootpath, (char *)cp, sizeof(rootpath));
stand/lib/bootp.c
363
strncpy(hostname, (char *)cp, sizeof(hostname));
stand/lib/ext2fs.c
896
strncpy(d->d_name, ed->d_name, ed->d_namlen);
sys/bus/cam/cam_xpt.c
2163
strncpy(cdm->matches[j].result.bus_result.dev_name,
sys/bus/cam/cam_xpt.c
2419
strncpy(cdm->matches[j].result.periph_result.periph_name,
sys/bus/cam/cam_xpt.c
2585
strncpy(cdm->matches[j].result.periph_result.periph_name,
sys/bus/cam/cam_xpt.c
3239
strncpy(cgdl->periph_name,
sys/bus/cam/cam_xpt.c
7335
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/bus/cam/cam_xpt.c
7336
strncpy(cpi->hba_vid, "", HBA_IDLEN);
sys/bus/cam/cam_xpt.c
7337
strncpy(cpi->dev_name, sim->sim_name, DEV_IDLEN);
sys/bus/cam/scsi/scsi_cd.c
2854
strncpy(label->d_typename, cgd->inq_data.vendor,
sys/bus/cam/scsi/scsi_cd.c
2856
strncpy(label->d_packname, cgd->inq_data.product,
sys/bus/firewire/fwcrom.c
202
strncpy(buf, nullstr, len);
sys/bus/firewire/fwcrom.c
208
strncpy(buf, nullstr, len);
sys/bus/pci/pci_user.c
477
strncpy(dinfo->conf.pd_name, name,
sys/bus/pci/pci_user.c
537
strncpy(conf_old.pd_name,
sys/bus/u4b/serial/ufoma.c
1219
strncpy(subbuf, mode, sizeof(subbuf));
sys/bus/u4b/uvc/uvc_v4l2.c
179
strncpy(std->name, "UVC Camera", sizeof(std->name) - 1);
sys/ddb/db_sysctl.c
62
strncpy(dmode, READ_MODE, sizeof(dmode) - 1);
sys/dev/acpica/acpi_cmbat.c
412
strncpy(bifp->model, sc->bif.model, sizeof(sc->bif.model));
sys/dev/acpica/acpi_cmbat.c
413
strncpy(bifp->serial, sc->bif.serial, sizeof(sc->bif.serial));
sys/dev/acpica/acpi_cmbat.c
414
strncpy(bifp->type, sc->bif.type, sizeof(sc->bif.type));
sys/dev/acpica/acpi_cmbat.c
415
strncpy(bifp->oeminfo, sc->bif.oeminfo, sizeof(sc->bif.oeminfo));
sys/dev/disk/advansys/advansys.c
489
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/advansys/advansys.c
490
strncpy(cpi->hba_vid, "Advansys", HBA_IDLEN);
sys/dev/disk/advansys/advansys.c
491
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/disk/advansys/adwcam.c
787
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/advansys/adwcam.c
788
strncpy(cpi->hba_vid, "AdvanSys", HBA_IDLEN);
sys/dev/disk/advansys/adwcam.c
789
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/disk/amd/amd.c
474
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/amd/amd.c
475
strncpy(cpi->hba_vid, "TRM-AMD", HBA_IDLEN);
sys/dev/disk/amd/amd.c
476
strncpy(cpi->dev_name, cam_sim_name(psim), DEV_IDLEN);
sys/dev/disk/buslogic/bt.c
1208
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/buslogic/bt.c
1209
strncpy(cpi->hba_vid, "BusLogic", HBA_IDLEN);
sys/dev/disk/buslogic/bt.c
1210
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/disk/dm/dm_dev.c
368
strncpy(dmv->uuid, uuid, sizeof(dmv->uuid));
sys/dev/disk/iscsi/initiator/isc_cam.c
182
strncpy(cpi->sim_vid, "DragonFly", SIM_IDLEN);
sys/dev/disk/iscsi/initiator/isc_cam.c
183
strncpy(cpi->hba_vid, "iSCSI", HBA_IDLEN);
sys/dev/disk/iscsi/initiator/isc_cam.c
184
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/disk/isp/isp_freebsd.c
4914
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/isp/isp_freebsd.c
4915
strncpy(cpi->hba_vid, "Qlogic", HBA_IDLEN);
sys/dev/disk/isp/isp_freebsd.c
4916
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/disk/mpt/mpt_cam.c
3649
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/mpt/mpt_cam.c
3650
strncpy(cpi->hba_vid, "LSI", HBA_IDLEN);
sys/dev/disk/mpt/mpt_cam.c
3651
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/disk/nata/ata-all.c
422
strncpy(devices->name[0],
sys/dev/disk/nata/ata-all.c
428
strncpy(devices->name[1],
sys/dev/disk/nata/ata-disk.c
515
strncpy(vendor, atadev->param.model, len);
sys/dev/disk/nata/ata-disk.c
518
strncpy(product, atadev->param.model + len, 40 - len);
sys/dev/disk/nata/ata-disk.c
528
strncpy(product, atadev->param.model, 40);
sys/dev/disk/nata/ata-raid.c
1712
strncpy(raid->name, meta->configs[0].name,
sys/dev/disk/nata/ata-raid.c
1864
strncpy(raid->name, meta->name_1,
sys/dev/disk/nata/ata-raid.c
1917
strncpy(meta->name_1, rdp->name, sizeof(meta->name_1));
sys/dev/disk/nata/ata-raid.c
2101
strncpy(raid->name, meta->name,
sys/dev/disk/nata/ata-raid.c
2239
strncpy(raid->name, map->name,
sys/dev/disk/nata/ata-raid.c
2656
strncpy(raid->name, meta->name, sizeof(meta->name));
sys/dev/disk/nata/ata-raid.c
2729
strncpy(meta->name, rdp->name, sizeof(meta->name));
sys/dev/disk/nata/ata-raid.c
3574
strncpy(raid->name, meta->name,
sys/dev/disk/nata/atapi-cam.c
372
strncpy(cpi->sim_vid, "FreeBSD", sizeof(cpi->sim_vid));
sys/dev/disk/nata/atapi-cam.c
373
strncpy(cpi->hba_vid, "ATAPI", sizeof(cpi->hba_vid));
sys/dev/disk/nata/atapi-cam.c
374
strncpy(cpi->dev_name, cam_sim_name(sim), sizeof cpi->dev_name);
sys/dev/disk/nata/atapi-tape.c
139
strncpy(identify.ident, "FBSD", 4);
sys/dev/disk/ncr/ncr.c
4389
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/ncr/ncr.c
4390
strncpy(cpi->hba_vid, "Symbios", HBA_IDLEN);
sys/dev/disk/ncr/ncr.c
4391
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/disk/sbp/sbp.c
2435
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/sbp/sbp.c
2436
strncpy(cpi->hba_vid, "SBP", HBA_IDLEN);
sys/dev/disk/sbp/sbp.c
2437
strncpy(cpi->dev_name, sim->sim_name, DEV_IDLEN);
sys/dev/disk/sym/sym_hipd.c
8147
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/sym/sym_hipd.c
8148
strncpy(cpi->hba_vid, "Symbios", HBA_IDLEN);
sys/dev/disk/sym/sym_hipd.c
8149
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/disk/trm/trm.c
703
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/trm/trm.c
704
strncpy(cpi->hba_vid, "Tekram_TRM", HBA_IDLEN);
sys/dev/disk/trm/trm.c
705
strncpy(cpi->dev_name, cam_sim_name(psim), DEV_IDLEN);
sys/dev/disk/vpo/vpo.c
419
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/disk/vpo/vpo.c
420
strncpy(cpi->hba_vid, "Iomega", HBA_IDLEN);
sys/dev/disk/vpo/vpo.c
421
strncpy(cpi->dev_name, sim->sim_name, DEV_IDLEN);
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2717
strncpy(audio_info->display_name,
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
3819
strncpy(mode->name, name, DRM_DISPLAY_MODE_LEN);
sys/dev/drm/drm_modes.c
1675
strncpy(out->name, in->name, DRM_DISPLAY_MODE_LEN);
sys/dev/drm/drm_modes.c
1718
strncpy(out->name, in->name, DRM_DISPLAY_MODE_LEN);
sys/dev/drm/drm_property.c
125
strncpy(property->name, name, DRM_PROP_NAME_LEN);
sys/dev/drm/drm_property.c
419
strncpy(prop_enum->name, name, DRM_PROP_NAME_LEN);
sys/dev/drm/drm_property.c
473
strncpy(out_resp->name, property->name, DRM_PROP_NAME_LEN);
sys/dev/drm/i915/i915_oa_hsw.c
117
strncpy(dev_priv->perf.oa.test_config.uuid,
sys/dev/drm/linux_hdmi.c
171
strncpy(frame->vendor, vendor, sizeof(frame->vendor));
sys/dev/drm/linux_hdmi.c
172
strncpy(frame->product, product, sizeof(frame->product));
sys/dev/drm/linux_hdmi.c
754
strncpy(buf, frame->vendor, 8);
sys/dev/drm/linux_hdmi.c
756
strncpy(buf, frame->product, 16);
sys/dev/misc/syscons/syscons.c
1587
strncpy(((term_info_t *)data)->ti_name, sw->te_name,
sys/dev/misc/syscons/syscons.c
1589
strncpy(((term_info_t *)data)->ti_desc, sw->te_desc,
sys/dev/netif/ath/ath/if_ath_alq.c
79
strncpy(alq->sc_alq_devname, devname, ATH_ALQ_DEVNAME_LEN);
sys/dev/netif/oce/oce_if.c
1859
strncpy(fw_cmd->params.rsp.cntl_attr_info.hba_attr.drv_ver_str,
sys/dev/netif/oce/oce_if.h
533
strncpy((ocelock)->name, (desc), MAX_LOCK_DESC_LEN); \
sys/dev/raid/aac/aac_cam.c
333
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/aac/aac_cam.c
334
strncpy(cpi->hba_vid, "Adaptec", HBA_IDLEN);
sys/dev/raid/aac/aac_cam.c
335
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/amr/amr_cam.c
324
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/amr/amr_cam.c
325
strncpy(cpi->hba_vid, "LSI", HBA_IDLEN);
sys/dev/raid/amr/amr_cam.c
326
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/arcmsr/arcmsr.c
2969
strncpy(&inqdata[8], "Areca ", 8); /* Vendor Identification */
sys/dev/raid/arcmsr/arcmsr.c
2970
strncpy(&inqdata[16], "RAID controller ", 16); /* Product Identification */
sys/dev/raid/arcmsr/arcmsr.c
2971
strncpy(&inqdata[32], "R001", 4); /* Product Revision */
sys/dev/raid/arcmsr/arcmsr.c
3086
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/arcmsr/arcmsr.c
3087
strncpy(cpi->hba_vid, "ARCMSR", HBA_IDLEN);
sys/dev/raid/arcmsr/arcmsr.c
3088
strncpy(cpi->dev_name, cam_sim_name(psim), DEV_IDLEN);
sys/dev/raid/asr/asr.c
2852
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/asr/asr.c
2853
strncpy(cpi->hba_vid, "Adaptec", HBA_IDLEN);
sys/dev/raid/asr/asr.c
2854
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/ciss/ciss.c
2959
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/ciss/ciss.c
2960
strncpy(cpi->hba_vid, "msmith@freebsd.org", HBA_IDLEN);
sys/dev/raid/ciss/ciss.c
2961
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/dpt/dpt_scsi.c
1070
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/dpt/dpt_scsi.c
1071
strncpy(cpi->hba_vid, "DPT", HBA_IDLEN);
sys/dev/raid/dpt/dpt_scsi.c
1072
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
812
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
813
strncpy(cpi->hba_vid, "HPT ", HBA_IDLEN);
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
814
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/hptiop/hptiop.c
2381
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/hptiop/hptiop.c
2382
strncpy(cpi->hba_vid, "HPT ", HBA_IDLEN);
sys/dev/raid/hptiop/hptiop.c
2383
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/hptmv/entry.c
2341
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/hptmv/entry.c
2342
strncpy(cpi->hba_vid, "HPT ", HBA_IDLEN);
sys/dev/raid/hptmv/entry.c
2343
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/iir/iir.c
1158
strncpy(inq.vendor, gdt->oem_name, sizeof(inq.vendor));
sys/dev/raid/iir/iir.c
1161
strncpy(inq.revision, " ", sizeof(inq.revision));
sys/dev/raid/iir/iir.c
1437
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/iir/iir.c
1439
strncpy(cpi->hba_vid, "Intel Corp.", HBA_IDLEN);
sys/dev/raid/iir/iir.c
1441
strncpy(cpi->hba_vid, "ICP vortex ", HBA_IDLEN);
sys/dev/raid/iir/iir.c
1442
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/iir/iir.c
391
strncpy(gdt->oem_name, ((gdt_oem_str_record_t *)
sys/dev/raid/ips/ips_commands.c
606
strncpy(nvram->driver_high, IPS_VERSION_MAJOR, 4);
sys/dev/raid/ips/ips_commands.c
607
strncpy(nvram->driver_low, IPS_VERSION_MINOR, 4);
sys/dev/raid/mfi/mfi_cam.c
182
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/mfi/mfi_cam.c
183
strncpy(cpi->hba_vid, "LSI", HBA_IDLEN);
sys/dev/raid/mfi/mfi_cam.c
184
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/mly/mly.c
2081
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/mly/mly.c
2082
strncpy(cpi->hba_vid, "FreeBSD", HBA_IDLEN);
sys/dev/raid/mly/mly.c
2083
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/mps/mps_sas.c
916
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/mps/mps_sas.c
917
strncpy(cpi->hba_vid, "LSILogic", HBA_IDLEN);
sys/dev/raid/mps/mps_sas.c
918
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/mrsas/mrsas_cam.c
315
strncpy(ccb->cpi.sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/mrsas/mrsas_cam.c
316
strncpy(ccb->cpi.hba_vid, "LSI", HBA_IDLEN);
sys/dev/raid/mrsas/mrsas_cam.c
317
strncpy(ccb->cpi.dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/twa/tw_osl_cam.c
471
strncpy(path_inq->sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/twa/tw_osl_cam.c
472
strncpy(path_inq->hba_vid, "3ware", HBA_IDLEN);
sys/dev/raid/twa/tw_osl_cam.c
473
strncpy(path_inq->dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/tws/tws_cam.c
336
strncpy(ccb->cpi.sim_vid, "FreeBSD", SIM_IDLEN);
sys/dev/raid/tws/tws_cam.c
337
strncpy(ccb->cpi.hba_vid, "3ware", HBA_IDLEN);
sys/dev/raid/tws/tws_cam.c
338
strncpy(ccb->cpi.dev_name, cam_sim_name(sim), DEV_IDLEN);
sys/dev/raid/tws/tws_services.c
100
strncpy(rec[tail].fname, file, TWS_TRACE_FNAME_LEN);
sys/dev/raid/tws/tws_services.c
101
strncpy(rec[tail].func, fun, TWS_TRACE_FUNC_LEN);
sys/dev/raid/tws/tws_services.c
103
strncpy(rec[tail].desc, desc, TWS_TRACE_DESC_LEN);
sys/dev/raid/vinum/vinumio.c
723
strncpy(partname, devicename[driveno], DRIVENAMELEN);
sys/dev/sound/pci/emu10kx.c
1138
strncpy(blk->owner, owner, 15);
sys/dev/virtual/amazon/ena/ena.c
3152
strncpy(host_info->os_dist_str, osrelease,
sys/kern/init_main.c
616
strncpy(init_path, var, sizeof init_path);
sys/kern/kern_environment.c
367
strncpy(data, tmp, size);
sys/kern/kern_kinfo.c
144
strncpy(kp->kp_comm, p->p_comm, sizeof(kp->kp_comm) - 1);
sys/kern/kern_kinfo.c
274
strncpy(kl->kl_wmesg, lwp->lwp_thread->td_wmesg, WMESGLEN);
sys/kern/kern_kinfo.c
293
strncpy(kp->kp_comm, td->td_comm, sizeof(kp->kp_comm) - 1);
sys/kern/kern_kinfo.c
327
strncpy(kp->kp_lwp.kl_wmesg, td->td_wmesg, WMESGLEN);
sys/kern/kern_linker.c
1468
strncpy(result, cp, prefix_len);
sys/kern/kern_nrandom.c
816
strncpy(mode, rand_mode_to_str(rand_mode), sizeof(mode)-1);
sys/kern/kern_shutdown.c
635
strncpy(kdh->magic, magic, sizeof(kdh->magic));
sys/kern/kern_shutdown.c
636
strncpy(kdh->architecture, MACHINE_ARCH, sizeof(kdh->architecture));
sys/kern/kern_shutdown.c
642
strncpy(kdh->hostname, hostname, sizeof(kdh->hostname));
sys/kern/kern_shutdown.c
643
strncpy(kdh->versionstring, version, sizeof(kdh->versionstring));
sys/kern/kern_shutdown.c
645
strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring));
sys/kern/lwkt_token.c
510
strncpy(td->td_gd->gd_cnt.v_lock_name + 1,
sys/kern/lwkt_token.c
626
strncpy(td->td_gd->gd_cnt.v_lock_name + 1,
sys/kern/subr_devstat.c
127
strncpy(ds->device_name, dev_name, DEVSTAT_NAME_LEN);
sys/kern/subr_disklabel32.c
425
strncpy(lp->d_typename, "amnesiac", sizeof(lp->d_typename));
sys/kern/subr_disklabel32.c
427
strncpy(lp->d_packname, "fictitious", sizeof(lp->d_packname));
sys/kern/uipc_usrreq.c
1144
strncpy(buf, soun->sun_path, namelen);
sys/kern/uipc_usrreq.c
2430
strncpy(buf, soun->sun_path, len);
sys/kern/vfs_conf.c
324
strncpy(mp->mnt_stat.f_fstypename, vfsp->vfc_name, MFSNAMELEN);
sys/kern/vfs_conf.c
436
strncpy(mf, cp, MFSNAMELEN+MNAMELEN);
sys/kern/vfs_mount.c
355
strncpy(mp->mnt_stat.f_fstypename, vfsp->vfc_name, MFSNAMELEN);
sys/kern/vfs_syscalls.c
362
strncpy(mp->mnt_stat.f_fstypename, vfsp->vfc_name, MFSNAMELEN);
sys/net/ipfw3/ip_fw3.c
180
strncpy(tmp->name, module_name, strlen(module_name));
sys/net/ipfw3_basic/ip_fw3_table.c
180
strncpy(ent->addr.sa_data, ioc_tbl->mac_ent->addr.octet, 6);
sys/net/ipfw3_basic/ip_fw3_table.c
359
strncpy(ioc_ent->addr.octet, ent->addr.sa_data, 6);
sys/net/ipfw3_basic/ip_fw3_table.c
449
strncpy(sa.sa_data, tbl->mac_ent->addr.octet, 6);
sys/net/ipfw3_layer2/ip_fw3_layer2.c
127
strncpy(sa.sa_data, (*args)->eh->ether_shost, 6);
sys/net/ipfw3_layer2/ip_fw3_layer2.c
170
strncpy(sa.sa_data, (*args)->eh->ether_dhost, 6);
sys/net/netmap/netmap_mem2.c
1058
strncpy(nifp->ni_name, ifname, (size_t)IFNAMSIZ);
sys/net/netmap/netmap_user.h
207
strncpy(d->req.nr_name, ifname, sizeof(d->req.nr_name));
sys/net/netmap/netmap_vale.c
352
strncpy(b->bdg_basename, name, namelen);
sys/net/netmap/netmap_vale.c
868
strncpy(name, iter->if_xname, (size_t)IFNAMSIZ);
sys/netgraph/bpf/ng_bpf.c
251
strncpy(hip->prog->thisHook, name, sizeof(hip->prog->thisHook) - 1);
sys/netgraph/ksocket/ng_ksocket.c
226
strncpy(fambuf, s + *off, len);
sys/netgraph/lmi/ng_lmi.c
521
strncpy(stat->proto,
sys/netgraph/lmi/ng_lmi.c
523
strncpy(stat->hook,
sys/netgraph/netgraph/ng_base.c
1092
strncpy(fullpath, address, sizeof(fullpath) - 1);
sys/netgraph/ng_message.h
287
strncpy((msg)->header.cmdstr, #cmdid, \
sys/netgraph/pppoe/ng_pppoe.c
1477
strncpy(tag->tag_data, SIGNOFF, msglen);
sys/netgraph/pppoe/ng_pppoe.c
851
strncpy(sts->hook, tag->tag_data, tlen);
sys/netgraph/tty/ng_tty.c
317
strncpy(ni->name, node->name, sizeof(ni->name) - 1);
sys/netgraph/tty/ng_tty.c
318
strncpy(ni->type, node->type->name, sizeof(ni->type) - 1);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
310
strncpy(NI(data)->name, NG_NODE_NAME(sc->node),
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
313
strncpy(NI(data)->type, sc->node->nd_type->name,
sys/netgraph7/ksocket/ng_ksocket.c
228
strncpy(fambuf, s + *off, len);
sys/netgraph7/lmi/ng_lmi.c
511
strncpy(stat->proto,
sys/netgraph7/lmi/ng_lmi.c
513
strncpy(stat->hook,
sys/netgraph7/netgraph/ng_base.c
1706
strncpy(fullpath, address, sizeof(fullpath) - 1);
sys/netgraph7/ng_message.h
402
strncpy((msg)->header.cmdstr, #cmdid, \
sys/netgraph7/ng_tag.c
335
strncpy(hip->in->thisHook, name, sizeof(hip->in->thisHook) - 1);
sys/netgraph7/ng_tag.c
337
strncpy(hip->out->thisHook, name, sizeof(hip->out->thisHook) - 1);
sys/netgraph7/ng_vlan.c
292
strncpy(vf->hook, NG_HOOK_NAME(f->hook),
sys/netgraph7/pppoe/ng_pppoe.c
1102
strncpy(sts->hook, tag->tag_data, tlen);
sys/netgraph7/pppoe/ng_pppoe.c
1772
strncpy(tag->tag_data, SIGNOFF, msglen);
sys/netgraph7/pppoe/ng_pppoe.c
1911
strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ);
sys/netgraph7/tty/ng_tty.c
302
strncpy(ni->name, NG_NODE_NAME(node), sizeof(ni->name) - 1);
sys/netgraph7/tty/ng_tty.c
303
strncpy(ni->type, node->nd_type->name, sizeof(ni->type) - 1);
sys/netinet6/in6_ifattach.c
414
strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name));
sys/netinet6/in6_ifattach.c
538
strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name));
sys/netinet6/in6_ifattach.c
606
strncpy(n, name, l);
sys/netinet6/nd6_rtr.c
1580
strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name));
sys/netinet6/nd6_rtr.c
1664
strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name));
sys/platform/pc64/x86_64/autoconf.c
389
strncpy(nd->root_hostnam, cp, MNAMELEN - 1);
sys/platform/pc64/x86_64/identcpu.c
115
strncpy(cpu_model, x86_64_cpus[cpu_type].cpu_name, sizeof (cpu_model));
sys/platform/vkernel64/x86_64/autoconf.c
483
strncpy(nd->root_hostnam, cp, MNAMELEN - 1);
sys/sys/indefinite2.h
100
strncpy(mycpu->gd_cnt.v_lock_name + 1, info->ident,
sys/sys/indefinite2.h
70
strncpy(mycpu->gd_cnt.v_lock_name + 1, info->ident,
sys/sys/libkern.h
137
char *strncpy(char * __restrict, const char * __restrict, size_t);
sys/vfs/msdosfs/msdosfs_vfsops.c
717
strncpy(sbp->f_fstypename, mp->mnt_vfc->vfc_name, MFSNAMELEN);
sys/vfs/nfs/nfs_mountrpc.c
347
strncpy(path, p, MNAMELEN - 1);
sys/vfs/smbfs/smbfs_vfsops.c
170
pc=index(strncpy(pc, vcp->vc_username, pe - pc - 2), 0);
sys/vfs/smbfs/smbfs_vfsops.c
173
pc = index(strncpy(pc, vcp->vc_srvname, pe - pc - 2), 0);
sys/vfs/smbfs/smbfs_vfsops.c
176
strncpy(pc, ssp->ss_name, pe - pc - 2);
sys/vfs/smbfs/smbfs_vfsops.c
346
strncpy(sbp->f_fstypename, mp->mnt_vfc->vfc_name, MFSNAMELEN);
test/interbench/interbench.c
1187
strncpy(ud.unamer, buf.release, MAX_UNAME_LENGTH);
test/stress/fsx/fsx.c
1079
strncpy(goodfile, optarg, sizeof(goodfile));
test/stress/fsx/fsx.c
1081
strncpy(logfile, optarg, sizeof(logfile));
tools/tools/ath/athkey/athkey.c
172
strncpy(atd.ad_name, ifname, sizeof (atd.ad_name));
tools/tools/ath/athpoke/athpoke.c
88
strncpy(atd.ad_name, ifname, sizeof (atd.ad_name));
tools/tools/ath/athpow/athpow.c
101
strncpy(atd.ad_name, ifname, sizeof (atd.ad_name));
tools/tools/ath/athprom/athprom.c
125
strncpy(atd.ad_name, ifname, sizeof (atd.ad_name));
tools/tools/ath/athregs/dumpregs.c
146
strncpy(atd.ad_name, ifname, sizeof (atd.ad_name));
tools/tools/ath/athstats/athstats.c
432
strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
tools/tools/ath/athstats/athstats.c
434
strncpy(wf->atd.ad_name, ifname, sizeof (wf->atd.ad_name));
tools/tools/net80211/stumbler/stumbler.c
325
strncpy(ifr.ifr_name, dev, sizeof(ifr.ifr_name)-1);
tools/tools/net80211/w00t/ap/ap.c
878
strncpy(p.ssid, optarg, sizeof(p.ssid)-1);
tools/tools/net80211/w00t/libw00t/w00t.c
111
strncpy(ifr.ifr_name, dev, sizeof(ifr.ifr_name)-1);
tools/tools/net80211/wesside/wesside/wesside.c
2771
strncpy(myip, optarg, sizeof(myip)-1);
tools/tools/net80211/wesside/wesside/wesside.c
453
strncpy(ifr.ifr_name, dev, sizeof(ifr.ifr_name)-1);
tools/tools/net80211/wlanstats/main.c
252
(void) strncpy(ireq.i_name, ifr.ifr_name, sizeof(ireq.i_name));
tools/tools/net80211/wlanstats/main.c
96
(void) strncpy(ireq.i_name, ifr.ifr_name, sizeof(ireq.i_name));
tools/tools/net80211/wlanstats/wlanstats.c
397
strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
tools/tools/net80211/wlanstats/wlanstats.c
398
strncpy(wf->ireq.i_name, ifname, sizeof (wf->ireq.i_name));
tools/tools/net80211/wlanwatch/wlanwatch.c
173
strncpy(line, cp, sizeof(line) - 1);
tools/tools/net80211/wlanwatch/wlanwatch.c
208
strncpy(line, "invalid", sizeof(line));
tools/tools/net80211/wlanwds/wlanwds.c
231
strncpy(ifmr.ifm_name, ifname, sizeof(ifmr.ifm_name));
tools/tools/net80211/wlanwds/wlanwds.c
247
strncpy(ireq.i_name, ifname, sizeof(ireq.i_name));
tools/tools/net80211/wlanwds/wlanwds.c
460
strncpy(cp.icp_parent, parent, IFNAMSIZ);
tools/tools/net80211/wlanwds/wlanwds.c
465
strncpy(ifr.ifr_name, "wlan", IFNAMSIZ);
tools/tools/net80211/wlanwds/wlanwds.c
498
strncpy(ifr.i_name, ifname, IFNAMSIZ);
usr.bin/bdes/bdes.c
354
(void)strncpy(obuf, ibuf, 8);
usr.bin/bdes/bdes.c
400
(void)strncpy(obuf, ibuf, 8);
usr.bin/btpin/btpin.c
125
strncpy((char *)rp.pin, pin, HCI_PIN_SIZE);
usr.bin/calendar/nnames.c
166
strncpy(nname->n_name, seq, len);
usr.bin/enigma/enigma.c
44
strncpy(salt, pw, sizeof(salt));
usr.bin/finger/util.c
324
(void)strncpy(bp = tbuf, pw->pw_gecos, sizeof(tbuf));
usr.bin/finger/util.c
334
(void)strncpy(t, pw->pw_name,
usr.bin/finger/util.c
72
(void)strncpy(p = tbuf, pw->pw_gecos, sizeof(tbuf));
usr.bin/finger/util.c
83
(void)strncpy(t, pw->pw_name,
usr.bin/gcore/elfcore.c
427
strncpy(psinfo->pr_psargs, psinfo->pr_fname, PRARGSZ);
usr.bin/hexdump/parse.c
136
(void) strncpy(tfu->fmt, savep, p - savep);
usr.bin/indent/lexi.c
324
strncpy(state->procname, token, sizeof state->procname - 1);
usr.bin/killall/killall.c
352
strncpy(thiscmd, procs[i].kp_comm, MAXCOMLEN);
usr.bin/localedef/ctype.c
308
(void) strncpy(rl.encoding, get_wide_encoding(), sizeof (rl.encoding));
usr.bin/msgs/msgs.c
832
strncpy(date, in, sizeof date);
usr.bin/msgs/msgs.c
863
strncpy(subj, nxtfld(inbuf), sizeof subj);
usr.bin/msgs/msgs.c
876
strncpy(subj, "(No Subject)\n", sizeof subj);
usr.bin/netstat/inet.c
985
strncpy(line, cp, sizeof(line) - 1);
usr.bin/netstat/route.c
850
strncpy(line, cp, sizeof(line) - 1);
usr.bin/netstat/route.c
933
strncpy(line, cp, sizeof(line) - 1);
usr.bin/rpcgen/rpc_scan.c
325
strncpy(tmp, *str, size);
usr.bin/rpcgen/rpc_scan.c
349
strncpy(tmp, *str, size);
usr.bin/rpcgen/rpc_scan.c
375
strncpy(tmp, *str, size);
usr.bin/rpcgen/rpc_scan.c
430
strncpy(tmp, str, len);
usr.bin/rusers/rusers.c
118
strncpy(date,
usr.bin/rusers/rusers.c
146
strncpy(remote, up->utmpidlearr_val[x].ui_utmp.ut_host,
usr.bin/sort/sort.c
674
strncpy(f, s + pmatch[1].rm_so, len);
usr.bin/sort/sort.c
701
strncpy(c, s + pmatch[2].rm_so + 1, len);
usr.bin/sort/sort.c
778
strncpy(pos1, s, size1);
usr.bin/sort/sort.c
830
strncpy(f, s + pmatch[1].rm_so, len);
usr.bin/sort/sort.c
842
strncpy(c, s + pmatch[2].rm_so + 1, len);
usr.bin/sort/sort.c
855
strncpy(sopts, s + pmatch[3].rm_so, len);
usr.bin/su/su.c
267
shell = strncpy(shellbuf, pwd->pw_shell,
usr.bin/systat/altqs.c
334
(void)strncpy(ptr, (const char *)&ifp->if_mib.ifmd_name,
usr.bin/systat/ifstat.c
325
(void)strncpy(ptr, (const char *)&ifp->if_mib.ifmd_name,
usr.bin/talk/get_names.c
105
strncpy(msg.l_name, my_name, NAME_SIZE);
usr.bin/talk/get_names.c
107
strncpy(msg.r_name, his_name, NAME_SIZE);
usr.bin/talk/get_names.c
109
strncpy(msg.r_tty, his_tty, TTY_SIZE);
usr.bin/telnet/authenc.c
95
strncpy(result, res, length);
usr.bin/telnet/commands.c
2206
strncpy(su.sun_path, hostp, sizeof su.sun_path);
usr.bin/telnet/commands.c
2268
(void) strncpy(_hostname, hostp, sizeof(_hostname) - 1);
usr.bin/telnet/commands.c
2274
(void) strncpy(_hostname, hostname, sizeof(_hostname) - 1);
usr.bin/telnet/commands.c
2278
(void) strncpy(_hostname, hostp, sizeof(_hostname) - 1);
usr.bin/telnet/commands.c
2290
strncpy(hostbuf, hostp, BUFSIZ - 1);
usr.bin/telnet/commands.c
2673
strncpy(temp, &line[l1], sizeof(line) - l1);
usr.bin/telnet/commands.c
2674
strncpy(line, temp, sizeof(line) - l1);
usr.bin/telnet/commands.c
2676
strncpy(temp, &line[l2], sizeof(line) - l2);
usr.bin/telnet/commands.c
2677
strncpy(line, temp, sizeof(line) - l2);
usr.bin/telnet/commands.c
2679
strncpy(temp, &line[7], sizeof(line) - 7);
usr.bin/telnet/commands.c
2680
strncpy(line, temp, sizeof(line) - 7);
usr.bin/telnet/main.c
245
(void)strncpy(dest_realm, optarg, dst_realm_sz);
usr.bin/tftp/main.c
216
(void) strncpy(hostname, res->ai_canonname,
usr.bin/tftp/main.c
219
(void) strncpy(hostname, host, sizeof(hostname));
usr.bin/tip/tip.c
126
strncpy(PNbuf, system, sizeof(PNbuf) - 1);
usr.bin/tip/unidialer.c
215
strncpy (modem_name, modem, sizeof (modem_name) - 1);
usr.bin/top/color.c
149
strncpy(ce->tag, p, len);
usr.bin/top/username.c
117
strncpy(data->name, pw->pw_name, MAXLOGNAME-1);
usr.bin/usbhidaction/usbhidaction.c
479
strncpy(q, argv[n], len);
usr.bin/usbhidaction/usbhidaction.c
488
strncpy(q, cmd->name, len);
usr.bin/usbhidaction/usbhidaction.c
492
strncpy(q, hid, len);
usr.bin/w/w.c
378
strncpy(host_buf, ep->host, maxhost);
usr.bin/wtmpcvt/wtmpcvt.c
60
strncpy(uo->ut_ ## field, ui->ut_ ## field, \
usr.bin/wtmpcvt/wtmpcvt.c
64
strncpy(uo->ut_id, ui->ut_line, \
usr.bin/xinstall/xinstall.c
944
(void)strncpy(temp, path, tsize);
usr.bin/xinstall/xinstall.c
950
(void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p);
usr.sbin/arp/arp.c
724
strncpy(ifreq.ifr_name, ifr->ifr_name,
usr.sbin/bootparamd/bootparamd/bootparamd.c
128
strncpy(askname, he->h_name, sizeof(askname));
usr.sbin/bootparamd/bootparamd/bootparamd.c
134
strncpy(hostname, buffer, where - buffer);
usr.sbin/bootparamd/bootparamd/bootparamd.c
72
strncpy(askname, he->h_name, sizeof(askname));
usr.sbin/cron/crontab/crontab.c
131
strncpy(User, pw->pw_name, (sizeof User)-1);
usr.sbin/cron/crontab/crontab.c
147
strncpy(User, pw->pw_name, (sizeof User)-1);
usr.sbin/cron/crontab/crontab.c
179
strncpy (Filename, argv[optind], (sizeof Filename)-1);
usr.sbin/gifconfig/gifconfig.c
214
strncpy(name, *argv, sizeof(name));
usr.sbin/gifconfig/gifconfig.c
215
strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
usr.sbin/gifconfig/gifconfig.c
303
strncpy(name, sdl->sdl_data, sdl->sdl_nlen);
usr.sbin/gifconfig/gifconfig.c
337
strncpy(ifr.ifr_name, name, sizeof ifr.ifr_name);
usr.sbin/gifconfig/gifconfig.c
339
strncpy(in6_ifr.ifr_name, name, sizeof in6_ifr.ifr_name);
usr.sbin/gifconfig/gifconfig.c
382
strncpy(rafp->af_addreq, name, sizeof ifr.ifr_name);
usr.sbin/gifconfig/gifconfig.c
419
strncpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
usr.sbin/installer/dfuife_curses/curses_xlat.c
808
strncpy(dest, src, max);
usr.sbin/installer/dfuife_curses/curses_xlat.c
812
strncpy(dest + strlen(src),
usr.sbin/installer/dfuife_curses/main.c
262
strncpy(last_message, dfui_info_get_short_desc(
usr.sbin/installer/libdfui/connection.c
213
strncpy(action_name, &actions[start], end - start);
usr.sbin/kbdcontrol/kbdcontrol.c
1105
strncpy(info.kb_name, kbd, unit - kbd);
usr.sbin/makefs/cd9660.c
1278
strncpy(dir->isoDirRecord->name, newname, 8);
usr.sbin/mptable/mptable.c
1081
strncpy( string, s, c );
usr.sbin/ppp/arp.c
296
strncpy(a, inet_ntoa(netmask->sin_addr), sizeof a - 1);
usr.sbin/ppp/auth.c
148
strncpy(phone, vector[4], phonelen - 1);
usr.sbin/ppp/bundle.c
1337
strncpy(bundle->cfg.label, label, sizeof bundle->cfg.label - 1);
usr.sbin/ppp/cbcp.c
269
strncpy(list, cbcp->fsm.phone, sizeof list - 1);
usr.sbin/ppp/cbcp.c
321
strncpy(cbcp->fsm.phone, cbcp->p->dl->cfg.cbcp.phone,
usr.sbin/ppp/cbcp.c
428
strncpy(list, cbcp->fsm.phone, sizeof list - 1);
usr.sbin/ppp/cbcp.c
454
strncpy(list, cbcp->fsm.phone, sizeof list - 1);
usr.sbin/ppp/cbcp.c
553
strncpy(list, cbcp->fsm.phone, sizeof list - 1);
usr.sbin/ppp/chat.c
573
strncpy(c->script, data, sizeof c->script - 1);
usr.sbin/ppp/chat.c
658
strncpy(result, c->physical->dl->bundle->cfg.auth.key, reslen);
usr.sbin/ppp/chat.c
665
strncpy(result, c->phone, reslen);
usr.sbin/ppp/chat.c
672
strncpy(result, c->physical->dl->bundle->cfg.auth.name, reslen);
usr.sbin/ppp/command.c
1047
strncpy(tgt+tlen, argv[f], len);
usr.sbin/ppp/command.c
1115
strncpy(buff, buff2, LINE_LEN - offset - 1);
usr.sbin/ppp/command.c
1169
strncpy(buf, label, sizeof buf - 3);
usr.sbin/ppp/command.c
1183
strncpy(buf+n, "********", sizeof buf - n - 1);
usr.sbin/ppp/command.c
1185
strncpy(buf+n, argv[f], sizeof buf - n - 1);
usr.sbin/ppp/command.c
1460
strncpy(server.cfg.passwd, passwd, sizeof server.cfg.passwd - 1);
usr.sbin/ppp/command.c
1650
strncpy(arg->bundle->cfg.auth.key, argp,
usr.sbin/ppp/command.c
1663
strncpy(arg->bundle->cfg.auth.name, argp,
usr.sbin/ppp/command.c
1715
strncpy(cx->cfg.script.dial, argp, sizeof cx->cfg.script.dial - 1);
usr.sbin/ppp/command.c
1720
strncpy(cx->cfg.script.login, argp, sizeof cx->cfg.script.login - 1);
usr.sbin/ppp/command.c
1978
strncpy(cx->cfg.phone.list, argp, sizeof cx->cfg.phone.list - 1);
usr.sbin/ppp/command.c
1984
strncpy(cx->cfg.script.hangup, argp, sizeof cx->cfg.script.hangup - 1);
usr.sbin/ppp/command.c
1994
strncpy(cx->cfg.script.logout, argp, sizeof cx->cfg.script.logout - 1);
usr.sbin/ppp/command.c
2110
strncpy(cx->cfg.callback.msg, arg->argv[++dummyint],
usr.sbin/ppp/command.c
2130
strncpy(cx->cfg.cbcp.phone, arg->argv[arg->argn],
usr.sbin/ppp/command.c
2172
strncpy(arg->bundle->radius.cfg.file, argp,
usr.sbin/ppp/command.c
2611
strncpy(namelist, arg->argv[arg->argn], sizeof namelist - 1);
usr.sbin/ppp/command.c
2619
strncpy(namelist, arg->argv[arg->argn], sizeof namelist - 1);
usr.sbin/ppp/command.c
287
strncpy(namelist, arg->argv[f], sizeof namelist - 1);
usr.sbin/ppp/datalink.c
130
strncpy(dl->cfg.phone.list, dl->cbcp.fsm.phone,
usr.sbin/ppp/datalink.c
194
strncpy(dl->phone.list, dl->cfg.phone.list, sizeof dl->phone.list - 1);
usr.sbin/ppp/datalink.c
606
strncpy(dl->peer.authname, name, sizeof dl->peer.authname - 1);
usr.sbin/ppp/datalink.c
717
strncpy(dl->cbcp.fsm.phone, dl->physical->link.lcp.his_callback.msg,
usr.sbin/ppp/iface.c
220
strncpy(ifra.ifra_name, name, sizeof ifra.ifra_name - 1);
usr.sbin/ppp/iface.c
249
strncpy(ifra6.ifra_name, name, sizeof ifra6.ifra_name - 1);
usr.sbin/ppp/iface.c
305
strncpy(ifra.ifra_name, name, sizeof ifra.ifra_name - 1);
usr.sbin/ppp/iface.c
334
strncpy(ifra6.ifra_name, name, sizeof ifra6.ifra_name - 1);
usr.sbin/ppp/iface.c
562
strncpy(ifrq.ifr_name, ifname, sizeof ifrq.ifr_name - 1);
usr.sbin/ppp/iplist.c
154
strncpy(list->src, src, sizeof list->src - 1);
usr.sbin/ppp/iplist.c
52
strncpy(ipstr, start, end-start);
usr.sbin/ppp/lcp.c
512
strncpy(msg + 4, exp[0], sizeof msg - 5);
usr.sbin/ppp/lcp.c
606
strncpy(list, cb->msg, sizeof list - 1);
usr.sbin/ppp/ncpaddr.c
960
strncpy(s, data, len);
usr.sbin/ppp/netgraph.c
450
strncpy(word, from, len);
usr.sbin/ppp/physical.c
777
strncpy(p->cfg.devlist + pos, argv[f], sizeof p->cfg.devlist - pos - 1);
usr.sbin/ppp/physical.c
903
strncpy(ut.ut_user, name, sizeof ut.ut_user);
usr.sbin/ppp/physical.c
906
strncpy(ut.ut_host, p->name.base, sizeof ut.ut_host);
usr.sbin/ppp/physical.c
911
strncpy(ut.ut_line, p->name.base, sizeof ut.ut_line);
usr.sbin/ppp/physical.c
914
strncpy(ut.ut_host, connstr, sizeof ut.ut_host);
usr.sbin/ppp/physical.c
951
strncpy(p->name.full, name, sizeof p->name.full - 1);
usr.sbin/ppp/prompt.c
336
strncpy(p->src.from, tty, sizeof p->src.from - 1);
usr.sbin/ppp/radius.c
931
strncpy(ac->user_name, dl->peer.authname, sizeof ac->user_name);
usr.sbin/ppp/server.c
165
strncpy(p->src.from, s->cfg.sockname, sizeof p->src.from - 1);
usr.sbin/ppp/server.c
290
strncpy(server.cfg.sockname, ifsun.sun_path, sizeof server.cfg.sockname - 1);
usr.sbin/ppp/server.c
301
strncpy(server.cfg.sockname, ifsun.sun_path,
usr.sbin/ppp/systems.c
120
strncpy(to, from+2, len);
usr.sbin/ppp/systems.c
144
strncpy(to, env, endto - to);
usr.sbin/ppp/systems.c
158
strncpy(to, from, len);
usr.sbin/ppp/systems.c
169
strncpy(to, pwd->pw_dir, endto - to);
usr.sbin/pppctl/pppctl.c
383
strncpy(Command+len, argv[arg], sizeof(Command)-len-1);
usr.sbin/pw/edgroup.c
63
strncpy(groupfile, getgrpath(_GROUP), MAXPATHLEN - 5);
usr.sbin/pw/psdate.c
70
l = strlen(strncpy(mystr, *str, len));
usr.sbin/rpc.lockd/lockd_lock.c
190
strncpy(newfl->client_name, lckarg->alock.caller_name, 128);
usr.sbin/rpc.lockd/lockd_lock.c
677
strncpy(hp->name, hostname, SM_MAXSTRLEN);
usr.sbin/rpc.statd/file.c
122
strncpy(spare_slot->hostname, hostname, SM_MAXSTRLEN);
usr.sbin/rpc.statd/procs.c
114
strncpy(lp->notifyHost, arg->mon_id.my_id.my_name, SM_MAXSTRLEN);
usr.sbin/rtadvd/config.c
637
strncpy(ndi.ifname, ifi->ifi_ifname, sizeof(ndi.ifname));
usr.sbin/rtadvd/config.c
813
strncpy(abuf, ap, c);
usr.sbin/rtadvd/config.c
865
strncpy(abuf, ap, c);
usr.sbin/rtadvd/if.c
362
strncpy(ifi->ifi_ifname, ifname, sizeof(ifi->ifi_ifname)-1);
usr.sbin/rtadvd/if.c
392
strncpy(nd.ifname, ifi->ifi_ifname,
usr.sbin/rtadvd/if.c
521
strncpy(ifr.ifr_name, ifi->ifi_ifname,
usr.sbin/rtsold/if.c
101
strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
usr.sbin/rtsold/if.c
152
strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
usr.sbin/rtsold/if.c
170
strncpy(ifmr.ifm_name, ifname, sizeof(ifmr.ifm_name));
usr.sbin/rtsold/rtsold.c
346
strncpy(ifinfo->ifname, ifname, sizeof(ifinfo->ifname));
usr.sbin/rtsold/rtsold.c
769
strncpy(ifname, target->ifa_name, sizeof(ifname) - 1);
usr.sbin/rwhod/rwhod.c
458
strncpy(we->we_utmp.out_line, ut->ut_line,
usr.sbin/rwhod/rwhod.c
460
strncpy(we->we_utmp.out_name, ut->ut_user,
usr.sbin/sliplogin/sliplogin.c
150
strncpy(loginname, name, sizeof(loginname)-1);
usr.sbin/sliplogin/sliplogin.c
194
strncpy(loginfile, _PATH_SLOGIN, sizeof(loginfile)-1);
usr.sbin/sliplogin/sliplogin.c
205
strncpy(slparmsfile, _PATH_SLPARMS, sizeof(slparmsfile)-1);
usr.sbin/sliplogin/sliplogin.c
297
strncpy(logoutfile, _PATH_SLOGOUT, sizeof(logoutfile)-1);
usr.sbin/slstat/slstat.c
102
strncpy(interface, argv[optind], IFNAMSIZ);
usr.sbin/syslogd/syslogd.c
2004
(void)strncpy(f->f_un.f_uname[i], p, MAXLOGNAME - 1);
usr.sbin/watch/watch.c
343
strncpy(dev_name, *av, DEV_NAME_LEN);
usr.sbin/ypbind/ypbind.c
204
strncpy(ypdb->dom_domain, *argp, sizeof ypdb->dom_domain);
usr.sbin/ypbind/ypbind.c
450
strncpy(ypbindlist->dom_domain, domain_name, sizeof ypbindlist->dom_domain);
usr.sbin/ypbind/ypbind.c
880
strncpy(ypdb->dom_domain, dom, sizeof ypdb->dom_domain);
usr.sbin/yppush/yppush_main.c
581
strncpy(yppush_master, data.data, data.size);
usr.sbin/zic/zdump.c
342
strncpy(buf, abbr(&tm), (sizeof buf) - 1);
usr.sbin/zic/zdump.c
361
strncpy(buf,
usr.sbin/zic/zdump.c
448
strncpy(loab, abbr(&lotm), (sizeof loab) - 1);
usr.sbin/zic/zic.c
1690
strncpy(abbr, format, slashp - format);