Searched refs:sm_strlcpy (Results 1 - 25 of 56) sorted by relevance

123

/sendmail/libsmutil/
H A Dsnprintf.c49 (void) sm_strlcpy(buf, s, m + 1);
52 (void) sm_strlcpy(buf, s, m - 2);
57 (void) sm_strlcpy(buf, s, m + 1);
H A Dcf.c61 (void) sm_strlcpy(cf, cflocation, sizeof cf);
/sendmail/libsm/
H A Dstrdup.c70 (void) sm_strlcpy(d, s, l);
100 (void) sm_strlcpy(d, s, l);
128 (void) sm_strlcpy(d, s, l);
161 (void) sm_strlcpy(d, s, l);
H A Db-strcmp.c87 (void) sm_strlcpy(src1, "1234567890", SIZE);
88 (void) sm_strlcpy(src2, "1234567890", SIZE);
91 (void) sm_strlcpy(src1, "1234567890", SIZE);
92 (void) sm_strlcpy(src2, "1234567891", SIZE);
95 (void) sm_strlcpy(src1, "1234567892", SIZE);
96 (void) sm_strlcpy(src2, "1234567891", SIZE);
H A Dt-strl.c39 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
46 SM_TEST(sm_strlcpy(s3, s1, 2) == 3);
54 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
60 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
66 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
72 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
78 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
84 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
92 (void) sm_strlcpy(src1[k], "abcdef", sizeof src1);
H A Dmbdb.c193 (void) sm_strlcpy(user->mbdb_name, pw->pw_name,
199 (void) sm_strlcpy(user->mbdb_homedir, pw->pw_dir,
201 (void) sm_strlcpy(user->mbdb_shell, pw->pw_shell,
254 (void) sm_strlcpy(buf, user, buflen);
260 (void) sm_strlcpy(bp, user, buflen - (bp - buf));
454 (void) sm_strlcpy(new, arg, len);
650 (void) sm_strlcpy(user->mbdb_homedir, vals[0],
660 (void) sm_strlcpy(user->mbdb_shell, vals[0],
750 (void) sm_strlcpy(user->mbdb_name, name,
H A Db-strl.c47 printf("strlcpy() and sm_strlcpy(), and strlcat() and sm_strlcat().\n");
97 (void) sm_strlcpy(dest, "a small string at the start! ", SRC_SIZE - 1);
169 sm_strlcpy(dest, source, SRC_SIZE - 1);
H A Dniprop.c190 (void) sm_strlcpy(p, ninl.ni_namelist_val[j], alen);
H A Dutil.c182 bufused = sm_strlcpy(obp, ibp, *bsp);
H A Dt-qic.c61 sm_strlcpy(line_in, in, sizeof(line_in));
186 los = sm_strlcpy(line, inout[i].qic_in, sizeof(line));
H A Dstrl.c45 ** if (sm_strlcpy(buf, s, sizeof(buf)) >= sizeof(buf))
58 sm_strlcpy(dst, src, size) function
277 ** (void) sm_strlcpy(s, ptr->string, sizeof buf - (s - buf));
H A Dldap.c394 (void) sm_strlcpy(fp, p, SPACELEFT(filter, fp));
897 sm_strlcpy(*result, vals[0],
1006 sm_strlcpy(vp_tmp,
1023 p += sm_strlcpy(p, attr,
1029 p += sm_strlcpy(p, vals[i],
/sendmail/libmilter/
H A Dmain.c52 (void) sm_strlcpy(smfi->xxfi_name, smfilter.xxfi_name, len);
182 if (sm_strlcpy(conn, oconn, l) >= l)
/sendmail/sendmail/
H A Derr.c601 (void) sm_strlcpy(HeldMessageBuf, msg, sizeof(HeldMessageBuf));
856 (void) sm_strlcpy(eb, fmt, l + 1);
864 (void) sm_strlcpy(eb, enhsc, l + 1);
1012 (void) sm_strlcpy(bp, err, SPACELEFT(buf, bp));
1015 (void) sm_strlcpy(bp, sys_errlist[errnum],
1037 (void) sm_strlcpy(bp,
1129 bp += sm_strlcpy(bp, "Name server: ", sizeof(buf));
1136 (void) sm_strlcpy(bp, dnsmsg, SPACELEFT(buf, bp));
H A Dsm_resolve.c297 (void) sm_strlcpy((*rr)->rr_u.rr_mx->mx_r_domain,
320 (void) sm_strlcpy((*rr)->rr_u.rr_srv->srv_r_target,
352 (void) sm_strlcpy((*rr)->rr_u.rr_txt, (char*) p + 1,
H A Ddomain.c516 (void) sm_strlcpy(MXHostBuf, host, sizeof(MXHostBuf));
722 (void) sm_strlcpy(p, mxhosts[i], sizeof(buf) - len);
1072 (void) sm_strlcpy(host, nbuf, hbsize);
1137 (void) sm_strlcpy(host, nbuf, hbsize);
H A Dsasl.c275 if (sm_strlcpy(hbuf, inet_ntoa(addr->sin.sin_addr), sizeof(hbuf))
H A Dconf.c421 (void) sm_strlcpy(defuserbuf,
443 (void) sm_strlcpy(buf, "mqueue, P=/var/spool/mqueue", sizeof(buf));
455 (void) sm_strlcpy(buf, "prog, P=/bin/sh, F=lsouDq9, T=X-Unix/X-Unix/X-Unix, A=sh -c \201u",
459 (void) sm_strlcpy(buf, "*file*, P=[FILE], F=lsDFMPEouq9, T=X-Unix/X-Unix/X-Unix, A=FILE \201u",
463 (void) sm_strlcpy(buf, "*include*, P=/dev/null, F=su, A=INCLUDE \201u",
735 (void) sm_strlcpy(buf, "host host", sizeof(buf));
753 (void) sm_strlcpy(buf, "aliases.files null",
761 (void) sm_strlcpy(buf, "aliases.nisplus nisplus -kalias -vexpansion mail_aliases.org_dir",
770 (void) sm_strlcpy(buf, "aliases.nis nis mail.aliases",
779 (void) sm_strlcpy(bu
[all...]
/sendmail/include/sm/
H A Dstring.h69 sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len));
/sendmail/mailstats/
H A Dmailstats.c133 (void) sm_strlcpy(mtable[mno++], "prog", MNAMELEN + 1);
134 (void) sm_strlcpy(mtable[mno++], "*file*", MNAMELEN + 1);
135 (void) sm_strlcpy(mtable[mno++], "*include*", MNAMELEN + 1);
176 if (sm_strlcpy(sfilebuf, b, sizeof sfilebuf) >=
/sendmail/praliases/
H A Dpraliases.c154 if (sm_strlcpy(afilebuf, b, sizeof afilebuf) >=
302 (void) sm_strlcpy(user_info.smdbu_name, RunAsUserName,
/sendmail/vacation/
H A Dvacation.c256 (void) sm_strlcpy(From, optarg, sizeof From);
305 (void) sm_strlcpy(user_info.smdbu_name, pw->pw_name,
326 (void) sm_strlcpy(user_info.smdbu_name, pw->pw_name,
371 (void) sm_strlcpy(user_info.smdbu_name, user.mbdb_name,
555 (void) sm_strlcpy(From, buf + 5,
/sendmail/editmap/
H A Deditmap.c124 (void) sm_strlcpy(rnamebuf, pw->pw_name, sizeof rnamebuf);
131 (void) sm_strlcpy(user_info.smdbu_name, RunAsUserName,
/sendmail/makemap/
H A Dmakemap.c129 (void) sm_strlcpy(rnamebuf, pw->pw_name, sizeof rnamebuf);
136 (void) sm_strlcpy(user_info.smdbu_name, RunAsUserName,
/sendmail/mail.local/
H A Dmail.local.c230 if (sm_strlcpy(SpoolPath, _PATH_MAILDIR, sizeof(SpoolPath)) >=
336 if (sm_strlcpy(SpoolPath, optarg, sizeof(SpoolPath)) >=
512 (void) sm_strlcpy(p, s, l);
558 sm_strlcpy(myhostname, "localhost", sizeof myhostname);
782 (void) sm_strlcpy(tmpbuf, _PATH_LOCTMP, sizeof tmpbuf);
949 (void) sm_strlcpy(&ContentHdr[16], line,

Completed in 732 milliseconds

123