Symbol: strndup
games/fortune/fortune/fortune.c
360
if ((prefix = strndup(files[i], pos)) == NULL)
include/string.h
114
char *strndup(const char *, size_t);
lib/libc/hidden/string.h
67
PROTO_NORMAL(strndup);
lib/libc/string/strndup.c
40
DEF_WEAK(strndup);
lib/libcrypto/bytestring/bs_cbs.c
114
*out_ptr = strndup((const char *)cbs->data, cbs->len);
lib/libcrypto/ct/ct_log.c
228
tmp = strndup(log_name, log_name_len);
lib/libcrypto/x509/by_dir.c
236
ent->dir = strndup(ss, (size_t)len);
lib/libcrypto/x509/x509_constraints.c
1064
if ((name->name = strndup(bytes, len)) == NULL) {
lib/libcrypto/x509/x509_constraints.c
1110
if ((name->name = strndup(bytes, len)) == NULL) {
lib/libcrypto/x509/x509_utl.c
1047
(*peername = strndup((char *)a->data, a->length)) == NULL)
lib/libcrypto/x509/x509_utl.c
1057
(*peername = strndup((char *)astr, astrlen)) == NULL)
lib/libcrypto/x509/x509_vpm.c
135
copy = strndup(name, namelen);
lib/libssl/bs_cbs.c
114
*out_ptr = strndup((const char *)cbs->data, cbs->len);
lib/libtls/tls_verify.c
294
common_name = strndup(utf8_bytes, common_name_len);
lib/libutil/imsg-buffer.c
551
str = strndup(ibuf_data(buf), len);
sbin/dhcpleased/parse.y
818
sym = strndup(s, val - s);
sbin/disklabel/editor.c
1926
if ((r = strndup(p, tlen)) == NULL)
sbin/iked/parse.y
2132
sym = strndup(s, val - s);
sbin/iked/util.c
696
return strndup(ptr, i);
sbin/ipsecctl/parse.y
1512
sym = strndup(s, val - s);
sbin/pfctl/parse.y
6080
sym = strndup(s, val - s);
sbin/unwind/parse.y
896
sym = strndup(s, val - s);
usr.bin/hexdump/parse.c
145
if ((tfu->fmt = strndup(savep, p - savep)) == NULL)
usr.bin/mandoc/mandoc_aux.c
109
p = strndup(ptr, sz);
usr.bin/mg/cscope.c
460
if ((r->filename = strndup(t.fname, NFILEN)) == NULL)
usr.bin/mg/cscope.c
577
if ((pathc = path = strndup(tmp, NFILEN)) == NULL)
usr.bin/mg/fileio.c
636
} else if ((ret = strndup(fn, NFILEN)) == NULL)
usr.bin/mg/fileio.c
650
bkupdir = strndup(p, NFILEN);
usr.bin/mg/fileio.c
713
if ((ret = strndup(fn, NFILEN)) == NULL)
usr.bin/mg/fileio.c
722
if ((ret = strndup(fn, NFILEN)) == NULL)
usr.bin/mg/fileio.c
751
if ((ret = strndup(path, NFILEN)) == NULL)
usr.bin/mg/interpreter.c
424
if ((e1->fun = strndup(cmdp, BUFSIZE)) == NULL) {
usr.bin/mg/interpreter.c
605
if ((v1->v_name = strndup(vnamep, BUFSIZE)) == NULL) {
usr.bin/mg/log.c
401
if ((tmp2 = strndup(tmp, NFILEN)) == NULL)
usr.bin/openssl/ca.c
2200
row[DB_exp_date] = strndup(ASN1_STRING_get0_data(tm),
usr.bin/openssl/ca.c
2328
row[DB_exp_date] = strndup(ASN1_STRING_get0_data(tm),
usr.bin/openssl/ca.c
2492
a_tm_s = strndup(ASN1_STRING_get0_data(a_tm), ASN1_STRING_length(a_tm));
usr.bin/pkgconf/libpkgconf/bsdstubs.c
162
return strndup(src, len);
usr.bin/ssh/sshkey.c
1298
if ((blobcopy = strndup(cp, space)) == NULL) {
usr.bin/tmux/xmalloc.c
101
if ((cp = strndup(str, maxlen)) == NULL)
usr.bin/wall/wall.c
156
un->tty = strndup(line, sizeof(utmp.ut_line));
usr.bin/whois/whois.c
244
if ((nhost = strndup(p, len)) == NULL)
usr.sbin/acme-client/json.c
91
n->d.str = strndup
usr.sbin/acme-client/parse.y
952
sym = strndup(s, val - s);
usr.sbin/bgpd/parse.y
4321
sym = strndup(s, val - s);
usr.sbin/dvmrpd/parse.y
841
sym = strndup(s, val - s);
usr.sbin/eigrpd/parse.y
1101
sym = strndup(s, val - s);
usr.sbin/httpd/httpd.c
795
return strndup(ptr, i);
usr.sbin/httpd/parse.y
2194
sym = strndup(s, val - s);
usr.sbin/httpd/patterns.c
690
if ((m->sm_match[i] = strndup(string +
usr.sbin/httpd/server_fcgi.c
209
if ((str = strndup(alias, scriptlen)) == NULL)
usr.sbin/ifstated/parse.y
878
sym = strndup(s, val - s);
usr.sbin/iscsictl/parse.y
746
sym = strndup(s, val - s);
usr.sbin/ldapd/parse.y
926
sym = strndup(s, val - s);
usr.sbin/ldapd/search.c
114
if ((searchdn = strndup(dn, dnlen)) == NULL)
usr.sbin/ldapd/search.c
231
if ((dn0 = strndup(key->data, key->size)) == NULL) {
usr.sbin/ldpd/parse.y
1415
sym = strndup(s, val - s);
usr.sbin/lpd/parse.y
689
sym = strndup(s, val - s);
usr.sbin/ntpd/constraint.c
1191
return strndup(ptr, i);
usr.sbin/ospf6d/parse.y
1138
sym = strndup(s, val - s);
usr.sbin/ospfd/parse.y
1329
sym = strndup(s, val - s);
usr.sbin/rad/parse.y
1045
sym = strndup(s, val - s);
usr.sbin/radiusd/radiusd_eap2mschap.c
497
if ((req->username = strndup(resp->chap_name, namelen))
usr.sbin/relayd/check_tcp.c
327
b = strndup(ibuf_data(cte->buf), ibuf_size(cte->buf));
usr.sbin/relayd/parse.y
3205
sym = strndup(s, val - s);
usr.sbin/ripd/parse.y
868
sym = strndup(s, val - s);
usr.sbin/rpki-client/http.c
1536
if ((line = strndup(conn->buf, len)) == NULL)
usr.sbin/rpki-client/http.c
421
if ((fullhost = strndup(host, strcspn(host, "/"))) == NULL)
usr.sbin/rpki-client/http.c
519
if ((host = strndup(host, hosttail - host)) == NULL)
usr.sbin/rpki-client/http.c
522
if ((port = strndup(port, path - port)) == NULL)
usr.sbin/rpki-client/main.c
588
if ((npath = strndup(uri, file - uri)) == NULL)
usr.sbin/rpki-client/mft.c
169
file = strndup(data, length);
usr.sbin/rpki-client/rsc.c
277
file->filename = strndup(data, length);
usr.sbin/rpki-client/rsync.c
108
if ((*out_base_uri = strndup(uri, rest - uri)) == NULL)
usr.sbin/rpki-client/tak.c
115
res->uris[i] = strndup(data, length);
usr.sbin/rpki-client/tal.c
184
if ((p->descr = strndup(d, dlen)) == NULL)
usr.sbin/rpki-client/x509.c
348
if ((*out = strndup(data, length)) == NULL)
usr.sbin/smtpd/parse.y
3245
sym = strndup(s, val - s);
usr.sbin/snmpd/parse.y
2006
sym = strndup(s, val - s);
usr.sbin/vmd/parse.y
1293
sym = strndup(s, val - s);
usr.sbin/ypldap/parse.y
1021
sym = strndup(s, val - s);