HomeSort by: relevance | last modified time | path
    Searched refs:strncpy (Results 1 - 25 of 443) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/lib/libcurses/
keyname.c 114 strncpy(name, "KEY_BREAK\0", KEYNAMEMAX);
118 strncpy(name, "KEY_DOWN\0", KEYNAMEMAX);
122 strncpy(name, "KEY_UP\0", KEYNAMEMAX);
126 strncpy(name, "KEY_LEFT\0", KEYNAMEMAX);
130 strncpy(name, "KEY_RIGHT\0", KEYNAMEMAX);
134 strncpy(name, "KEY_HOME\0", KEYNAMEMAX);
138 strncpy(name, "KEY_BACKSPACE\0", KEYNAMEMAX);
152 strncpy(name, "KEY_DL\0", KEYNAMEMAX);
156 strncpy(name, "KEY_IL\0", KEYNAMEMAX);
160 strncpy(name, "KEY_DC\0", KEYNAMEMAX)
    [all...]
  /src/lib/libc/string/
Lint_strncpy.c 12 strncpy(char *dst, const char *src, size_t n) function in typeref:typename:char *
  /src/lib/libc/arch/m68k/string/
Makefile.inc 5 strncmp.S strncpy.S \
  /src/common/lib/libc/string/
strncpy.c 1 /* $NetBSD: strncpy.c,v 1.4 2018/02/04 01:13:45 mrg Exp $ */
38 static char sccsid[] = "@(#)strncpy.c 8.1 (Berkeley) 6/4/93";
40 __RCSID("$NetBSD: strncpy.c,v 1.4 2018/02/04 01:13:45 mrg Exp $");
52 #undef strncpy
60 strncpy(char *dst, const char *src, size_t n) function in typeref:typename:char *
  /src/lib/libc/ssp/
strncpy_chk.c 39 #undef strncpy
54 return strncpy(dst, src, len);
  /src/usr.sbin/timed/timed/
tspname.c 44 (void)strncpy(tsp->tsp_name, name, sizeof(tsp->tsp_name));
53 (void)strncpy(name, tsp->tsp_name, size);
  /src/sys/lib/libkern/arch/mips/
Makefile.inc 10 strncasecmp.c strncmp.c strncpy.c strtoul.c
  /src/lib/libc/gen/
ctermid.c 56 (void)strncpy(s, def, L_ctermid);
confstr.c 85 (void)strncpy(buf, p, len - 1);
  /src/tests/lib/libc/ssp/
h_strncpy.c 43 (void)strncpy(b, "1020202020202", len);
h_stpncpy.c 51 (void)strncpy(b, "1020202020202", len);
  /src/libexec/ftpd/
logwtmp.c 95 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
96 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
97 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
128 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
129 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
130 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
  /src/common/lib/libc/arch/arm/string/
strcpy_thumb.S 38 #ifdef STRNCPY
39 WEAK_ALIAS(strncpy, _strncpy)
40 #define strncpy _strncpy macro
78 #elif defined(STRNCPY)
79 /* LINTSTUB: char * strncpy(char *, const char *, size_t) */
80 ENTRY(strncpy) function
98 END(strncpy)
strcpy_naive.S 67 #elif defined(STRNCPY)
68 /* LINTSTUB: char * strncpy(char *, const char *, size_t) */
69 ENTRY(strncpy) function
82 END(strncpy)
  /src/lib/libutil/
logwtmp.c 67 (void) strncpy(ut.ut_line, line, sizeof(ut.ut_line));
68 (void) strncpy(ut.ut_name, name, sizeof(ut.ut_name));
69 (void) strncpy(ut.ut_host, host, sizeof(ut.ut_host));
logwtmpx.c 66 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
67 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
68 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
  /src/lib/libpam/modules/pam_lastlog/
pam_lastlog.c 279 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
281 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host));
285 (void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line));
290 (void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id),
293 (void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id));
315 (void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line));
318 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host));
342 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
344 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host));
345 (void)strncpy(utmp.ut_line, tty, sizeof(utmp.ut_line))
    [all...]
  /src/usr.bin/login/
common.c 246 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
248 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host));
251 (void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line));
256 (void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id),
259 (void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id));
284 (void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line));
286 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host));
306 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
308 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host));
309 (void)strncpy(utmp.ut_line, tty, sizeof(utmp.ut_line))
    [all...]
  /src/usr.bin/talk/
get_names.c 117 strncpy(msg.l_name, my_name, NAME_SIZE);
119 strncpy(msg.r_name, his_name, NAME_SIZE);
121 strncpy(msg.r_tty, his_tty, TTY_SIZE);
  /src/lib/libcompat/4.4/
cuserid.c 61 (void)strncpy(s, pw->pw_name, L_cuserid);
  /src/sys/compat/common/
kern_info_09.c 124 strncpy(outsname.sysname, ostype, sizeof(outsname.sysname));
125 strncpy(outsname.nodename, hostname, sizeof(outsname.nodename));
126 strncpy(outsname.release, osrelease, sizeof(outsname.release));
138 strncpy(outsname.machine, MACHINE, sizeof(outsname.machine));
  /src/common/lib/libc/arch/m68k/string/
strncpy.S 1 /* $NetBSD: strncpy.S,v 1.5 2013/09/07 19:06:29 chs Exp $ */
40 RCSID("from: @(#)strncpy.s 5.1 (Berkeley) 5/12/90")
42 RCSID("$NetBSD: strncpy.S,v 1.5 2013/09/07 19:06:29 chs Exp $")
46 ENTRY(strncpy) function
80 END(strncpy)
  /src/usr.sbin/altq/libaltq/
qop_fifoq.c 184 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ);
193 strncpy(conf.iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ);
210 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ);
228 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ);
241 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ);
  /src/usr.sbin/mopd/common/
pf-linux2.c 123 strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
126 strncpy(socklist[s].sa.sa_data, interface, sizeof(socklist[s].sa.sa_data));
153 strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) -1);
174 strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) - 1);
208 strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) - 1);
  /src/games/hack/
hack.shknam.c 231 (void) strncpy(nampt, q[i], PL_NSIZ);

Completed in 43 milliseconds

1 2 3 4 5 6 7 8 91011>>