Searched refs:strncpy (Results 1 - 25 of 939) sorted by relevance

1234567891011>>

/macosx-10.10/curl-83.1.2/curl/tests/libtest/
H A Dsethostname.c34 strncpy(name, force_hostname, namelen);
/macosx-10.10/cxxfilt-11/cxxfilt/libiberty/
H A Dstpncpy.c38 extern char *strncpy (char *, const char *, size_t);
46 return strncpy (dst, src, len) + n;
/macosx-10.10/bless-103/libbless/Misc/
H A DBLGetCommonMountPoint.c56 strncpy(mountp, fsinfo.f_mntonname, MNAMELEN-1);
68 strncpy(f2mount, fsinfo.f_mntonname, MNAMELEN-1);
97 strncpy(mountp, f2mount, MNAMELEN);
H A DBLLoadFile.c61 strncpy(rsrcpath, src, MAXPATHLEN-1);
64 strncpy(rsrcpath, src, MAXPATHLEN-1);
/macosx-10.10/Libc-1044.1.2/string/
H A Dstrncpy.c27 strncpy(char * restrict dst, const char * restrict src, size_t maxlen) { function
30 // The stpncpy() and strncpy() functions copy at most maxlen
40 // The strcpy() and strncpy() functions return dst.
/macosx-10.10/Heimdal-398.1.2/appl/login/
H A Dutmp_login.c66 strncpy (dst, hostname, dst_sz);
75 strncpy (dst, hostname, dst_sz);
92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line));
93 strncpy(utmp->ut_name, username, sizeof(utmp->ut_name));
96 strncpy(utmp->ut_user, username, sizeof(utmp->ut_user));
121 strncpy(utmp->ut_id, make_id(ttyx), sizeof(utmp->ut_id));
H A Dutmpx_login.c35 strncpy(ut->ut_line, clean_tty, sizeof(ut->ut_line));
37 strncpy(ut->ut_id, make_id(clean_tty), sizeof(ut->ut_id));
39 strncpy(ut->ut_user, user, sizeof(ut->ut_user));
/macosx-10.10/BerkeleyDB-21/db/os/
H A Dos_ctime.c44 (void)strncpy(time_buf, ctime(tod), CTIME_BUFLEN - 1);
H A Dos_errno.c112 (void)strncpy(buf, strerror(error), len - 1);
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dcurl_gethostname.c69 strncpy(name, force_hostname, namelen);
/macosx-10.10/Libc-1044.1.2/util/
H A Dlogwtmp.c89 strncpy(utx.ut_user, name, sizeof(utx.ut_user));
90 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
93 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
/macosx-10.10/remote_cmds-47/talk.tproj/
H A Dget_names.c120 strncpy(msg.l_name, my_name, NAME_SIZE);
122 strncpy(msg.r_name, his_name, NAME_SIZE);
124 strncpy(msg.r_tty, his_tty, TTY_SIZE);
/macosx-10.10/top-100.1.2/
H A Dpid.c67 strncpy(suffix, "*", length);
69 strncpy(suffix, "-", length);
71 strncpy(suffix, " ", length);
/macosx-10.10/objc4-646/runtime/
H A Dobjc-typeencoding.mm281 strncpy(dst, "", dst_len);
287 strncpy(dst, t, MIN(len, dst_len));
307 strncpy(result, t, len);
323 strncpy(dst, "", dst_len);
330 strncpy(dst, "", dst_len);
336 strncpy(dst, t, MIN(len, dst_len));
362 strncpy(result, t, len);
/macosx-10.10/Heimdal-398.1.2/appl/ftp/ftpd/
H A Dlogwtmp.c132 strncpy(ut.ut_line, line, sizeof(ut.ut_line));
133 strncpy(ut.ut_name, name, sizeof(ut.ut_name));
138 strncpy(ut.ut_host, host, sizeof(ut.ut_host));
144 strncpy(utx.ut_line, line, sizeof(utx.ut_line));
145 strncpy(utx.ut_user, name, sizeof(utx.ut_user));
146 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
/macosx-10.10/man-16/man/catopen/
H A Dcatopen.c167 strncpy(path, name, namesz); path += namesz; break;
169 strncpy(path, lang, langsz); path += langsz; break;
171 strncpy(path, lang_l, lang_l_sz); path += lang_l_sz; break;
173 strncpy(path, lang_t, lang_t_sz); path += lang_t_sz; break;
175 strncpy(path, lang_c, lang_c_sz); path += lang_c_sz; break;
180 strncpy(path, name, namesz); path += namesz;
/macosx-10.10/BerkeleyDB-21/db/os_brew/
H A Dgetcwd.c39 (void)strncpy(buf, "fs:/", size - 1);
/macosx-10.10/emacs-93/emacs/src/s/
H A Dsol2-3.h71 strncpy (pty_name, ptyname, sizeof (pty_name)); \
H A Dusg5-4-2.h68 strncpy(pty_name, ptyname, sizeof(pty_name)); \
/macosx-10.10/ntp-92/libntp/
H A Dnumtohost.c42 (void) strncpy(bp, hp->h_name, LIB_BUFLENGTH-1);
/macosx-10.10/postfix-255/postfix/src/global/
H A Ddsn_util.h42 strncpy((dsn_buf).data, (dsn), (len)); \
H A Ddsn_util.c155 strncpy(dp->dsn.data, cp, len);
159 strncpy(dp->dsn.data, def_dsn, len);
/macosx-10.10/uucp-11/uucp/contrib/
H A Dtstout.c144 char *strncpy();
149 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
150 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
151 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
/macosx-10.10/libxslt-13/libxslt/libxslt/
H A Dextra.c203 strncpy(digits, str+7, 4);
208 strncpy(digits, str+12, 2);
213 strncpy(digits, str+15, 2);
218 strncpy(digits, str+18, 2);
223 strncpy(digits, str+21, 2);
228 strncpy(digits, str+24, 2);
268 strncpy(result, str, 20);
270 strncpy(result+23, str+19, 5);
/macosx-10.10/libutil-38/
H A Drealhostname.c65 strncpy(lookup, hp->h_name, sizeof(lookup) - 1);
76 strncpy(host, trimmed, hsize);
83 strncpy(host, inet_ntoa(*ip), hsize);
170 strncpy(host, buf, hsize);
180 strncpy(host, buf, hsize);

Completed in 125 milliseconds

1234567891011>>