Searched refs:strndup (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dstrndup.h37 strndup(const char *str, size_t len) function
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dstrndup.c42 strndup(const char *old, size_t sz) function
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dstrndup.c1 /* Implement the strndup function.
23 @deftypefn Extension char* strndup (const char *@var{s}, size_t @var{n})
41 strndup (const char *s, size_t n) function
H A DMakefile.in154 strstr.c strtod.c strtol.c strtoul.c strndup.c strverscmp.c \
202 ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o \
1015 ./strndup.o: $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1017 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1019 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
/freebsd-11-stable/lib/libc/string/
H A Dstrndup.c1 /* $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 DMakefile.inc17 strncat.c strncmp.c strncpy.c strndup.c strnlen.c strnstr.c \
65 MLINKS+=strdup.3 strndup.3
/freebsd-11-stable/sys/libkern/
H A Dstrndup.c41 strndup(const char *string, size_t maxlen, struct malloc_type *type) function
/freebsd-11-stable/contrib/ncurses/include/
H A Dnc_alloc.h44 #undef strndup /* workaround for #define in GLIBC 2.7 */ macro
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dsysfs.c66 sysfs_path = dup = strndup(env, IBV_SYSFS_PATH_MAX);
/freebsd-11-stable/contrib/nvi/common/
H A Dutil.c182 if ((u = strndup(p, t - p)) == NULL)
/freebsd-11-stable/include/
H A Dstring.h103 char *strndup(const char *, size_t) __malloc_like;
/freebsd-11-stable/lib/libnetbsd/
H A Defun.c99 char *d = strndup(s, len);
/freebsd-11-stable/lib/libc/iconv/
H A Dbsd_iconv.c69 out_noslashes = strndup(out, out_slashes - out);
226 curkey = strndup(list[i], slashpos - list[i]);
/freebsd-11-stable/usr.sbin/autofs/
H A Ddefined.c180 name = strndup(string + name_off, name_len);
182 log_err(1, "strndup");
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-runtime.h120 #pragma redefine_extname strndup __mfwrap_strndup
/freebsd-11-stable/sys/sys/
H A Dlibkern.h150 char *strndup(const char *__restrict, size_t, struct malloc_type *);
/freebsd-11-stable/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c229 if ((grpstr = strndup(&tok[1], stringlen - 1)) == NULL) {
/freebsd-11-stable/sys/fs/autofs/
H A Dautofs_vnops.c575 anp->an_name = strndup(name, namelen, M_AUTOFS);
611 find.an_name = strndup(name, namelen, M_AUTOFS);
H A Dautofs.c400 key = strndup(component, componentlen, M_AUTOFS);
/freebsd-11-stable/usr.bin/diff/
H A Ddiff.c367 if ((pattern = strndup(buf, len)) == NULL)
/freebsd-11-stable/contrib/binutils/libiberty/
H A DMakefile.in154 strstr.c strtod.c strtol.c strtoul.c strndup.c strverscmp.c \
202 ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o \
1039 ./strndup.o: $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1041 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1043 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
/freebsd-11-stable/contrib/nvi/cl/
H A Dcl_funcs.c638 clp->oname = strndup(s + 1, e - s - 1);
/freebsd-11-stable/sys/geom/nop/
H A Dg_nop.c260 sc->sc_physpath = strndup(physpath, MAXPATHLEN, M_GEOM);
/freebsd-11-stable/usr.bin/grep/
H A Dutil.c417 subject = strndup(string, stringlen);
/freebsd-11-stable/contrib/file/src/
H A Dsoftmagic.c492 # define strndup aix_strndup /* aix is broken */ macro
494 char *strndup(const char *, size_t);
497 strndup(const char *str, size_t n) function
812 cp = strndup(RCAST(const char *, ms->search.s),

Completed in 301 milliseconds

12