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

1234567891011>>

/freebsd-9.3-release/sbin/rcorder/
H A Dealloc.c82 * strdup, but die on error.
89 if ((p = strdup(str)) == NULL)
/freebsd-9.3-release/sys/boot/common/
H A Dconsole.c75 prefconsole = strdup(prefconsole);
82 prefconsole = strdup(consoles[active]->c_name);
187 dup = next = strdup(string);
217 dup = next = strdup(string);
/freebsd-9.3-release/usr.bin/keylogin/
H A Dkeylogin.c74 netst.st_netname = strdup(fullname);
/freebsd-9.3-release/usr.bin/mail/
H A Dtemp.c56 if ((tmpdir = strdup(tmpdir)) == NULL)
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dmm-internal.h78 #define mm_strdup(s) strdup(s)
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Denv.c98 env->val[env->len].key = strdup(key);
103 env->val[env->len].value = strdup(value);
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Derror_string.c108 ret = strdup(context->error_string);
148 return strdup(cstr);
H A Ddigest.c92 digest->init.channel->cb_type = strdup(type);
96 digest->init.channel->cb_binding = strdup(binding);
120 digest->init.type = strdup(type);
142 *digest->init.hostname = strdup(hostname);
168 digest->request.serverNonce = strdup(nonce);
192 digest->request.opaque = strdup(opaque);
223 *digest->request.identifier = strdup(id);
470 *digest->request.clientNonce = strdup(nonce);
489 digest->request.digest = strdup(dgst);
506 digest->request.username = strdup(usernam
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dcopyhostent.c60 res->h_name = strdup (h->h_name);
75 res->h_aliases[i] = strdup (h->h_aliases[i]);
H A Denvironment.c96 char *val = strdup(p);
114 l[idx] = strdup(p);
/freebsd-9.3-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-9.3-release/gnu/usr.bin/rcs/lib/
H A Drcskeys.c127 copy = strdup(arg);
166 copy = strdup(string);
/freebsd-9.3-release/tools/regression/sockets/reconnect/
H A Dreconnect.c115 uds_name1 = strdup("/tmp/reconnect.XXXXXX");
123 uds_name2 = strdup("/tmp/reconnect.XXXXXX");
/freebsd-9.3-release/sbin/kldconfig/
H A Dkldconfig.c191 ((pe->path = strdup(pathbuf)) == NULL)) {
274 ((pe->path = strdup(p)) == NULL)) {
291 s = strdup("");
348 if ((pathctl = strdup(PATHCTL)) == NULL) {
386 if ((pathctl = strdup(optarg)) == NULL) {
412 if ((origpath = strdup(modpath)) == NULL) {
/freebsd-9.3-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-9.3-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-9.3-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-9.3-release/lib/libncp/
H A Dncpl_rcfile.c87 rcp->rf_name = strdup (filename);
158 p->rs_name = strdup(sectname);
199 p->rk_name = strdup(name);
201 p->rk_value = value ? strdup(value) : strdup("");
298 rkp->rk_value = strdup(buf);
304 rkp->rk_value = strdup(buf);
/freebsd-9.3-release/usr.bin/finger/
H A Dutil.c333 if ((pn->name = strdup(pw->pw_name)) == NULL)
334 err(1, "strdup failed");
335 if ((pn->dir = strdup(pw->pw_dir)) == NULL)
336 err(1, "strdup failed");
337 if ((pn->shell = strdup(pw->pw_shell)) == NULL)
338 err(1, "strdup failed");
363 if ((pn->realname = strdup(name)) == NULL)
364 err(1, "strdup failed");
366 strdup(p) : NULL;
368 strdup(
[all...]
/freebsd-9.3-release/bin/ps/
H A Dprint.c132 str = strdup(k->ki_p->ki_comm);
189 str = strdup(k->ki_p->ki_comm);
202 str = strdup(k->ki_p->ki_tdname);
204 str = strdup(" ");
217 return (strdup(k->ki_p->ki_login));
325 return (strdup(user_from_uid(k->ki_p->ki_uid, 0)));
334 return (strdup(group_from_gid(k->ki_p->ki_groups[0], 0)));
343 return (strdup(group_from_gid(k->ki_p->ki_rgid, 0)));
352 return (strdup(user_from_uid(k->ki_p->ki_ruid, 0)));
365 str = strdup("
[all...]
/freebsd-9.3-release/usr.bin/rctl/
H A Drctl.c151 copy = strdup(rule);
153 err(1, "strdup");
249 copy = strdup(rule);
251 err(1, "strdup");
360 copy = strdup(usage);
362 err(1, "strdup");
470 rule = strdup(optarg);
477 rule = strdup(optarg);
484 rule = strdup(optarg);
488 rule = strdup(optar
[all...]
/freebsd-9.3-release/usr.sbin/pkg_install/add/
H A Dmain.c256 pkgs[ch] = strdup(temp);
261 pkgs[ch] = strdup(temp);
264 pkgs[ch] = strdup(realpath(*argv, temp));
270 pkgs[ch] = strdup(temp);
274 pkgs[ch] = strdup(temp);
/freebsd-9.3-release/contrib/libstdc++/config/os/gnu-linux/
H A Dctype_noninline.h51 char* __old = strdup(setlocale(LC_CTYPE, NULL));
83 char* __old=strdup(setlocale(LC_CTYPE, NULL));
118 char* __old=strdup(setlocale(LC_CTYPE, NULL));
/freebsd-9.3-release/contrib/nvi/cl/
H A Dcl_bsd.c180 NULL : strdup(p);
184 NULL : strdup(p);
188 NULL : strdup(p);
/freebsd-9.3-release/contrib/ofed/management/opensm/complib/
H A Dcl_nodenamemap.c64 item->name = strdup(p);
130 rc = strdup(item->name);
134 rc = strdup(clean_nodedesc(nodedesc));

Completed in 139 milliseconds

1234567891011>>