Searched refs:xstrlcpy (Results 1 - 23 of 23) sorted by relevance

/freebsd-10.3-release/contrib/amd/amq/
H A Dpawd.c150 xstrlcpy(transform, "/home/", sizeof(transform));
211 xstrlcpy(transform, dir, sizeof(transform));
215 xstrlcpy(transform, *spp, sizeof(transform));
236 xstrlcpy(path, transform_dir(wd), l);
H A Damq.c179 xstrlcpy(buf, mt->mt_directory, sizeof(buf));
181 xstrlcpy(path, buf, l);
/freebsd-10.3-release/contrib/amd/libamu/
H A Dhasmntopt.c111 xstrlcpy(t, mnt->mnt_opts, sizeof(t));
H A Dstrutil.c160 * For now, xstrlcpy returns VOID because it doesn't look like anywhere in
167 xstrlcpy(char *dst, const char *src, size_t len)
174 plog(XLOG_ERROR, "xstrlcpy(%s:%d): string \"%s\" truncated to \"%s\"",
177 plog(XLOG_ERROR, "xstrlcpy: string \"%s\" truncated to \"%s\"", src, dst);
H A Dxutil.c153 xstrlcpy(am_hostname, hn, MAXHOSTNAMELEN);
302 xstrlcpy(q, strerror(error), maxlen);
500 if (strlcpy(last_msg, msg, 1024) >= 1024) /* don't use xstrlcpy here (recursive!) */
513 if (strlcpy(last_msg, msg, 1024) >= 1024) /* don't use xstrlcpy here (recursive!) */
543 if (strlcpy(last_msg, msg, 1024) >= 1024) /* don't use xstrlcpy here (recursive!) */
H A Dwire.c109 xstrlcpy(buf, "No networks\n", buf_size);
H A Dmount_fs.c240 xstrlcpy(zopts, xopts, l);
527 * XXX: warning, using xstrlcpy in NFS_HN_DREF, which may corrupt a
/freebsd-10.3-release/contrib/amd/amd/
H A Dinfo_ndbm.c88 xstrlcpy(dbfilename, map, sizeof(dbfilename));
119 xstrlcpy(dbfilename, map, sizeof(dbfilename));
H A Dam_ops.c292 xstrlcpy(buf, &opt[2], sizeof(buf));
295 xstrlcpy(buf, "no", sizeof(buf));
330 xstrlcpy(oneopt, tmpstr, 80);
344 xstrlcpy(newstr, tmpstr, len);
353 xstrlcpy(newstr, opts2, len);
H A Dmapc.c903 xstrlcpy(wildname, key, sizeof(wildname));
910 xstrlcpy(subp, "/*", sizeof(wildname) - (subp - wildname));
1064 xstrlcpy(str, opts, sizeof(str));
1072 xstrlcpy(str, opts, sizeof(str));
1177 xstrlcpy(component, path, sizeof(component));
1181 xstrlcpy(full_path, str, sizeof(full_path));
H A Damfs_host.c104 xstrlcpy(mntpt, mf_mount, l);
468 xstrlcpy(fs_name, mf->mf_info, MAXPATHLEN);
484 xstrlcpy(rfs_dir, ex->ex_dir, sizeof(fs_name) - (rfs_dir - fs_name));
H A Dautil.c87 xstrlcpy(p, s, len);
501 xstrlcpy(fs_hostname + MAXHOSTNAMELEN - 3, "..",
510 xstrlcpy(fs_hostname + HOSTNAMESZ - 3, "..",
H A Damq_subr.c233 xstrlcpy(tmp_buf, mp->am_path, sizeof(tmp_buf));
241 xstrlcpy(prev_buf, tmp_buf, sizeof(prev_buf));
H A Damd.c463 xstrlcpy(hostd, hostname, sizeof(hostd));
H A Dops_nfs.c631 xstrlcpy(wnfs_path + 1, fp->fh_path, l - 1);
784 xstrlcpy(host, fs_name, sizeof(host));
791 xstrlcpy(host + MAXHOSTNAMELEN - 3, "..",
H A Dopts.c1053 * We use strncpy (not xstrlcpy) because 'ep' relies on its
1145 * We use strncpy here (not xstrlcpy) because the dest is meant
1241 xstrlcpy(ep, vptr, vlen+1);
1270 xstrlcpy(ep, env, vlen+1);
1302 xstrlcpy(ep, cp, vlen+1);
/freebsd-10.3-release/contrib/amd/fixmount/
H A Dfixmount.c118 xstrlcpy(lasthost, name1, MAXHOSTNAMELEN);
162 xstrlcpy(dir_path, ml->ml_directory, sizeof(dir_path));
324 xstrlcpy(thishost, optarg, sizeof(thishost));
364 xstrlcpy(thishost, he->h_name, sizeof(thishost));
/freebsd-10.3-release/contrib/amd/fsinfo/
H A Dfsinfo.c127 xstrlcpy(hostname, optarg, sizeof(hostname));
H A Dfsi_analyze.c118 xstrlcpy(p, hn, MAXPATHLEN);
135 xstrlcpy(p, path, MAXPATHLEN);
/freebsd-10.3-release/contrib/amd/hlfsd/
H A Dhlfsd.c484 xstrlcpy(preopts, default_mntopts, sizeof(preopts));
535 xstrlcpy(progpid_fs + MAXHOSTNAMELEN - 3, "..",
916 xstrlcpy(lessmess, mess, sizeof(lessmess));
H A Dhomedir.c507 xstrlcpy(pw_name, cp, sizeof(pw_name));
531 xstrlcpy(pw_dir, cp, sizeof(pw_dir));
H A Dstubs.c287 xstrlcpy((char *) &un_fhandle.fh_data[sizeof(int)],
/freebsd-10.3-release/contrib/amd/include/
H A Dam_utils.h354 # define xstrlcpy(d,s,l) _xstrlcpy(__FILE__,__LINE__,(d),(s),(l)) macro
357 extern void xstrlcpy(char *dst, const char *src, size_t len);

Completed in 138 milliseconds