Lines Matching refs:strncpy
424 (void) strncpy(pair_list[i].group, args[j + 1], in parse_extras()
433 (void) strncpy(pair_list[i].ctag, args[j + 1], in parse_extras()
441 (void) strncpy(pair_list[i].diskqueue, args[j + 1], in parse_extras()
491 (void) strncpy(lghn, p, len); in parse_cfg_buf()
519 (void) strncpy(fromname, hp->h_name, MAXHOSTNAMELEN); in ctag_check()
521 (void) strncpy(toname, hp->h_name, MAXHOSTNAMELEN); in ctag_check()
550 (void) strncpy(ctag, file_dgname, MAX_RDC_HOST_SIZE); in ctag_check()
717 (void) strncpy(newq, diskqueue, NSC_MAXPATH); in check_diskqueue()
760 (void) strncpy(pair_list[newpair].diskqueue, in pair_diskqueue_check()
770 (void) strncpy(pair_list[j].diskqueue, in pair_diskqueue_check()
790 (void) strncpy(pair_list[i].diskqueue, in pair_diskqueue_check()
1635 (void) strncpy(parms.rdc_set->primary.intf, phost, MAX_RDC_HOST_SIZE); in rdc_force_disable()
1636 (void) strncpy(parms.rdc_set->primary.file, pvol, NSC_MAXPATH); in rdc_force_disable()
1637 (void) strncpy(parms.rdc_set->secondary.intf, shost, MAX_RDC_HOST_SIZE); in rdc_force_disable()
1638 (void) strncpy(parms.rdc_set->secondary.file, svol, NSC_MAXPATH); in rdc_force_disable()
1915 (void) strncpy(ctag_arg, optarg,
1925 (void) strncpy(group_arg, optarg, NSC_MAXPATH);
2121 (void) strncpy(tohost_arg, ptr,
2130 (void) strncpy(tofile_arg, ptr, NSC_MAXPATH);
2190 (void) strncpy(reconfig_ctag,
2305 (void) strncpy(tohost_arg, ptr,
2312 (void) strncpy(tofile_arg, ptr, NSC_MAXPATH);
2425 (void) strncpy(fromhost, argv[optind],
2427 (void) strncpy(fromfile, argv[optind+1], NSC_MAXPATH);
2428 (void) strncpy(frombitmap, argv[optind+2], NSC_MAXPATH);
2429 (void) strncpy(tohost, argv[optind+3],
2431 (void) strncpy(tofile, argv[optind+4], NSC_MAXPATH);
2432 (void) strncpy(tobitmap, argv[optind+5], NSC_MAXPATH);
2460 (void) strncpy(directfile, argv[optind+6],
2554 (void) strncpy(group, argv[i + 1],
2566 (void) strncpy(ctag, argv[i + 1],
2593 (void) strncpy(diskqueue, argv[i + 1],
2657 (void) strncpy(frombitmap, reconfig_pbitmap,
2662 (void) strncpy(tobitmap, reconfig_sbitmap,
2668 (void) strncpy(directfile, reconfig_direct,
2672 (void) strncpy(group, reconfig_group,
2676 (void) strncpy(ctag, reconfig_ctag,
2709 (void) strncpy(fromfile, pair_list[pairs].ffile,
2711 (void) strncpy(tofile, pair_list[pairs].tfile,
2713 (void) strncpy(frombitmap, pair_list[pairs].fbitmap,
2715 (void) strncpy(fromhost,
2717 (void) strncpy(tohost, pair_list[pairs].thost,
2719 (void) strncpy(tobitmap, pair_list[pairs].tbitmap,
2721 (void) strncpy(directfile, pair_list[pairs].directfile,
2723 (void) strncpy(group, pair_list[pairs].group,
2725 (void) strncpy(ctag, pair_list[pairs].ctag,
2727 (void) strncpy(diskqueue, pair_list[pairs].diskqueue,
2779 (void) strncpy(parms.rdc_set->primary.intf, fromhost,
2781 (void) strncpy(parms.rdc_set->secondary.intf, tohost,
2783 (void) strncpy(parms.rdc_set->primary.file, fromfile,
2785 (void) strncpy(parms.rdc_set->secondary.file, tofile,
2794 (void) strncpy(orig_fbmp, parms.rdc_set->primary.bitmap,
2796 (void) strncpy(orig_tbmp,
3016 (void) strncpy(diskqueue, buf,
3084 (void) strncpy(ctag, buf,
3250 (void) strncpy(tmphost, fromhost,
3252 (void) strncpy(tmpfile, fromfile,
3254 (void) strncpy(tmpbitmap, frombitmap,
3257 (void) strncpy(fromhost, tohost,
3259 (void) strncpy(fromfile, tofile,
3261 (void) strncpy(frombitmap, tobitmap,
3264 (void) strncpy(tohost, tmphost,
3266 (void) strncpy(tofile, tmpfile,
3268 (void) strncpy(tobitmap, tmpbitmap,
3770 (void) strncpy(p->intf, fhost, MAX_RDC_HOST_SIZE);
3771 (void) strncpy(p->file, ffile, MAX_RDC_HOST_SIZE);
3774 (void) strncpy(p->intf, thost, NSC_MAXPATH);
3775 (void) strncpy(p->file, tfile, NSC_MAXPATH);
3817 (void) strncpy(fromname, hp->h_name, MAXHOSTNAMELEN);
3819 (void) strncpy(toname, hp->h_name, MAXHOSTNAMELEN);
3831 (void) strncpy(parms.rdc_set->primary.intf, fromhost,
3833 (void) strncpy(parms.rdc_set->secondary.intf, tohost,
3835 (void) strncpy(parms.rdc_set->primary.file, fromfile,
3837 (void) strncpy(parms.rdc_set->secondary.file, tofile,
3846 (void) strncpy(orig_fbmp, parms.rdc_set->primary.bitmap,
3848 (void) strncpy(orig_tbmp, parms.rdc_set->secondary.bitmap,
3850 (void) strncpy(orig_diskq, parms.rdc_set->disk_queue,
3956 (void) strncpy(parms.rdc_set->primary.intf, fromhost,
3958 (void) strncpy(parms.rdc_set->primary.file, fromfile, NSC_MAXPATH);
3959 (void) strncpy(parms.rdc_set->primary.bitmap, frombitmap, NSC_MAXPATH);
3961 (void) strncpy(parms.rdc_set->secondary.intf, tohost,
3963 (void) strncpy(parms.rdc_set->secondary.file, tofile, NSC_MAXPATH);
3964 (void) strncpy(parms.rdc_set->secondary.bitmap, tobitmap, NSC_MAXPATH);
3969 (void) strncpy(parms.rdc_set->group_name, group, NSC_MAXPATH);
3981 (void) strncpy(parms.rdc_set->disk_queue, diskqueue,
4055 (void) strncpy(parms.rdc_set->direct_file, directfile,
4301 (void) strncpy(directfile,
4310 (void) strncpy(directfile, "-", NSC_MAXPATH);
4321 (void) strncpy(group, parms.rdc_set->group_name,
4331 (void) strncpy(group, "-", NSC_MAXPATH);
4341 (void) strncpy(diskqueue,
4344 (void) strncpy(diskqueue, "-", NSC_MAXPATH);
4353 (void) strncpy(frombitmap,
4362 (void) strncpy(tobitmap,
4895 (void) strncpy(fromhost, tmp, (MAX_RDC_HOST_SIZE - 1));
4906 (void) strncpy(fromfile, tmp, (NSC_MAXPATH - 1));
4917 (void) strncpy(frombitmap, tmp, (NSC_MAXPATH - 1));
4928 (void) strncpy(tohost, tmp, (MAX_RDC_HOST_SIZE - 1));
4939 (void) strncpy(tofile, tmp, (NSC_MAXPATH - 1));
4950 (void) strncpy(tobitmap, tmp, (NSC_MAXPATH - 1));
4955 (void) strncpy(dsk_flagstr, tmp, 15);
4960 (void) strncpy(sync, tmp, 15);
4966 (void) strncpy(extra_args[j], tmp,
4993 (void) strncpy(directfile, dsk_flagstr, NSC_MAXPATH);
5017 (void) strncpy(pair_list[i].fhost, fromhost, MAX_RDC_HOST_SIZE);
5018 (void) strncpy(pair_list[i].ffile, fromfile, NSC_MAXPATH);
5019 (void) strncpy(pair_list[i].fbitmap, frombitmap, NSC_MAXPATH);
5020 (void) strncpy(pair_list[i].thost, tohost, MAX_RDC_HOST_SIZE);
5021 (void) strncpy(pair_list[i].tfile, tofile, NSC_MAXPATH);
5022 (void) strncpy(pair_list[i].tbitmap, tobitmap, NSC_MAXPATH);
5023 (void) strncpy(pair_list[i].directfile, directfile,
5123 (void) strncpy(pairp->fbitmap, reconfig_pbitmap,
5126 (void) strncpy(pairp->tbitmap, reconfig_sbitmap,
5130 (void) strncpy(directfile, reconfig_direct,
5134 (void) strncpy(pairp->group, reconfig_group,
5138 (void) strncpy(pairp->ctag, reconfig_ctag,
5661 (void) strncpy(bmop.sechost, tohost, MAX_RDC_HOST_SIZE);
5662 (void) strncpy(bmop.secfile, tofile, NSC_MAXPATH);