/freebsd-13-stable/contrib/mandoc/ |
H A D | test-strndup.c | 8 s = strndup("123", 2);
|
H A D | compat_strndup.c | 10 /* OpenBSD: strndup.c,v 1.2 2015/08/31 02:53:57 guenther Exp */ 33 strndup(const char *str, size_t maxlen) function
|
H A D | mandoc_aux.c | 114 p = strndup(ptr, sz);
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | strndup.c | 1 /* $OpenBSD: strndup.c,v 1.2 2015/08/31 02:53:57 guenther Exp $ */ 28 strndup(const char *str, size_t maxlen) function 42 DEF_WEAK(strndup); variable
|
H A D | Makefile.in | 54 strndup.o \
|
/freebsd-13-stable/contrib/openbsm/bin/auditdistd/ |
H A D | strndup.h | 37 strndup(const char *str, size_t len) function
|
/freebsd-13-stable/crypto/heimdal/lib/roken/ |
H A D | strndup.c | 42 strndup(const char *old, size_t sz) function
|
/freebsd-13-stable/lib/libc/string/ |
H A D | strndup.c | 1 /* $OpenBSD: strndup.c,v 1.1 2010/05/18 22:24:55 tedu Exp $ */ 27 strndup(const char *str, size_t maxlen) function
|
H A D | Makefile.inc | 17 strncat.c strncmp.c strncpy.c strndup.c strnlen.c strnstr.c \ 65 MLINKS+=strdup.3 strndup.3
|
/freebsd-13-stable/sys/libkern/ |
H A D | strndup.c | 41 strndup(const char *string, size_t maxlen, struct malloc_type *type) function
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/send_doall/ |
H A D | send_doall.c | 66 fsname = strndup(tofull, p - tofull);
|
/freebsd-13-stable/contrib/ofed/libibverbs/ |
H A D | sysfs.c | 66 sysfs_path = dup = strndup(env, IBV_SYSFS_PATH_MAX);
|
/freebsd-13-stable/contrib/ncurses/include/ |
H A D | nc_alloc.h | 48 #undef strndup /* workaround for #define in GLIBC 2.7 */ macro
|
/freebsd-13-stable/include/ |
H A D | string.h | 105 char *strndup(const char *, size_t) __malloc_like;
|
/freebsd-13-stable/lib/libnetbsd/ |
H A D | efun.c | 99 char *d = strndup(s, len);
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/badsend/ |
H A D | badsend.c | 78 fsname = strndup(tofull, p - tofull);
|
/freebsd-13-stable/contrib/nvi/common/ |
H A D | util.c | 160 if ((u = strndup(p, t - p)) == NULL)
|
/freebsd-13-stable/lib/libc/iconv/ |
H A D | bsd_iconv.c | 71 out_noslashes = strndup(out, out_slashes - out); 228 curkey = strndup(list[i], slashpos - list[i]);
|
/freebsd-13-stable/sbin/nvmecontrol/ |
H A D | nvmecontrol.c | 174 *ctrlr_str = strndup(gnsid.cdev, sizeof(gnsid.cdev));
|
/freebsd-13-stable/usr.sbin/autofs/ |
H A D | defined.c | 179 name = strndup(string + name_off, name_len); 181 log_err(1, "strndup");
|
/freebsd-13-stable/lib/libpam/modules/pam_login_access/ |
H A D | login_access.c | 229 if ((grpstr = strndup(&tok[1], stringlen - 1)) == NULL) {
|
/freebsd-13-stable/sys/sys/ |
H A D | libkern.h | 181 char *strndup(const char *__restrict, size_t, struct malloc_type *);
|
/freebsd-13-stable/sys/fs/autofs/ |
H A D | autofs_vnops.c | 573 anp->an_name = strndup(name, namelen, M_AUTOFS); 609 find.an_name = strndup(name, namelen, M_AUTOFS);
|
/freebsd-13-stable/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_private.h | 103 /* We need our own strndup() implementation to pass required M_NOWAIT */ 158 #define bhnd_nv_strndup(str, len) strndup(str, len)
|
/freebsd-13-stable/lib/libfetch/ |
H A D | common.c | 550 *host = strndup(socks5env, slen); 552 *host = strndup(socks5env, ext - socks5env + 1); 558 *host = strndup(socks5env, ext - socks5env);
|