Searched refs:strdup (Results 76 - 100 of 1100) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/openpam/lib/libpam/
H A Dpam_getenvlist.c72 if ((envlist[i] = strdup(pamh->env[i])) == NULL) {
/freebsd-11.0-release/contrib/telnet/libtelnet/
H A Dmisc.c90 UserNameRequested = name ? strdup(name) : 0;
/freebsd-11.0-release/contrib/telnet/telnet/
H A Dmain.c332 ipsec_policy_in = strdup(optarg);
334 ipsec_policy_out = strdup(optarg);
358 *argp++ = strdup("-l");
362 *argp++ = strdup("-s");
/freebsd-11.0-release/contrib/amd/amd/
H A Damfs_error.c95 return strdup("(error-hook)");
H A Drestart.c67 mo.opt_rhost = strdup(me->mnt_fsname);
68 mo.opt_rfs = strdup(cp + 1);
75 mo.opt_rhost = strdup(me->mnt_fsname);
76 mo.opt_rfs = strdup("/");
/freebsd-11.0-release/contrib/ipfilter/lib/
H A Dprintfieldhdr.c38 s = strdup(w->w_word);
H A Dvar.c78 s = strdup(v->v_value);
159 v->v_value = strdup(value);
175 v->v_name = strdup(name);
176 v->v_value = strdup(value);
H A Dsave_file.c43 ctx->path = strdup(strings[0] + 6);
46 ctx->path = strdup(strings[0] + 7);
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.c74 if ((newstr = strdup(str)) == NULL)
/freebsd-11.0-release/sbin/rcorder/
H A Dealloc.c82 * strdup, but die on error.
89 if ((p = strdup(str)) == NULL)
/freebsd-11.0-release/usr.bin/keylogin/
H A Dkeylogin.c76 netst.st_netname = strdup(fullname);
/freebsd-11.0-release/contrib/ntp/sntp/libevent/
H A Dmm-internal.h78 #define mm_strdup(s) strdup(s)
/freebsd-11.0-release/usr.bin/mail/
H A Dtemp.c56 if ((tmpdir = strdup(tmpdir)) == NULL)
/freebsd-11.0-release/usr.bin/xlint/common/
H A Dmem.c83 if ((s2 = strdup(s)) == NULL)
/freebsd-11.0-release/crypto/heimdal/lib/roken/
H A Dcopyhostent.c57 res->h_name = strdup (h->h_name);
72 res->h_aliases[i] = strdup (h->h_aliases[i]);
H A Denvironment.c93 char *val = strdup(p);
111 l[idx] = strdup(p);
/freebsd-11.0-release/gnu/usr.bin/rcs/lib/
H A Drcskeys.c127 copy = strdup(arg);
166 copy = strdup(string);
/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Dpwcache.c75 cp->name = strdup(pw ? pw->pw_name : nbuf);
110 cp->name = strdup(gr ? gr->gr_name : nbuf);
/freebsd-11.0-release/contrib/netbsd-tests/kernel/kqueue/
H A Dt_proc1.c64 if ((argv[0] = strdup("true")) == NULL)
65 err(EXIT_FAILURE, "strdup(\"true\")");
67 if ((envp[0] = strdup("FOO=BAZ")) == NULL)
68 err(EXIT_FAILURE, "strdup(\"FOO=BAZ\")");
/freebsd-11.0-release/contrib/elftoolchain/ar/
H A Dacplex.l73 yylval.str = strdup(yytext);
75 err(EXIT_FAILURE, "strdup failed");
/freebsd-11.0-release/sbin/kldconfig/
H A Dkldconfig.c173 ((pe->path = strdup(pathbuf)) == NULL)) {
247 ((pe->path = strdup(p)) == NULL)) {
264 s = strdup("");
321 if ((pathctl = strdup(PATHCTL)) == NULL) {
359 if ((pathctl = strdup(optarg)) == NULL) {
385 if ((origpath = strdup(modpath)) == NULL) {
/freebsd-11.0-release/usr.bin/chpass/
H A Dedit.c156 if ((bp = gecos = strdup(pw->pw_gecos)) == NULL) {
163 p = strdup(p ? p : "");
169 p = strdup(p ? p : "");
175 p = strdup(p ? p : "");
181 p = strdup(p ? p : "");
186 bp = strdup(bp ? bp : "");
/freebsd-11.0-release/contrib/amd/fsinfo/
H A Dfsi_analyze.c144 char *p = strdup(nn);
189 set_mount(mp, DM_VOLNAME, strdup(mp->m_name));
231 mp->m_name = strdup(n);
289 mp2->m_name = strdup(nbuf);
301 dk->d_mountpt = strdup(mp2->m_name);
303 dk->d_mountpt = strdup("error");
356 set_disk_fs(dp, DF_OPTS, strdup("swap"));
365 m->m_name = strdup("swap");
403 set_disk_fs(dp, DF_OPTS, strdup("rw,defaults"));
430 set_fsmount(fp, FM_FSTYPE, strdup("nf
[all...]
/freebsd-11.0-release/usr.sbin/lpr/common_source/
H A Dctlinfo.c127 char *strdup(const char *_src);
306 cpriv->pub.cji_curqueue = strdup(ptrname);
335 cpriv->pub.cji_class = strdup(lbuff);
340 cpriv->pub.cji_accthost = strdup(lbuff);
343 cpriv->pub.cji_jobname = strdup(lbuff);
346 cpriv->pub.cji_headruser = strdup(lbuff);
358 cpriv->pub.cji_mailto = strdup(lbuff);
366 cpriv->pub.cji_acctuser = strdup(lbuff);
379 cpriv->pub.cji_accthost = strdup(".na.");
381 cpriv->pub.cji_acctuser = strdup("
[all...]
/freebsd-11.0-release/lib/libc/rpc/
H A Dauth_time.c178 ep->uaddr = strdup(hname);
179 ep->family = strdup("inet");
180 ep->proto = strdup("tcp");
193 ep->uaddr = strdup(hname);
194 ep->family = strdup("inet");
195 ep->proto = strdup("udp");
486 *uaddr = strdup(useua);

Completed in 125 milliseconds

1234567891011>>