Searched refs:strdup (Results 101 - 125 of 1100) sorted by relevance

1234567891011>>

/freebsd-11.0-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-11.0-release/usr.sbin/nandsim/
H A Dnandsim_rcfile.c84 rcp->rf_name = strdup(filename);
151 p->rs_name = strdup(sectname);
196 p->rk_name = strdup(name);
198 p->rk_value = value ? strdup(value) : strdup("");
291 rkp->rk_value = strdup(buf);
297 rkp->rk_value = strdup(buf);
/freebsd-11.0-release/bin/ps/
H A Dprint.c129 str = strdup(k->ki_p->ki_comm);
184 str = strdup(k->ki_p->ki_comm);
195 str = strdup(k->ki_p->ki_tdname);
197 str = strdup(" ");
208 return (strdup(k->ki_p->ki_login));
308 return (strdup(user_from_uid(k->ki_p->ki_uid, 0)));
315 return (strdup(group_from_gid(k->ki_p->ki_groups[0], 0)));
322 return (strdup(group_from_gid(k->ki_p->ki_rgid, 0)));
329 return (strdup(user_from_uid(k->ki_p->ki_ruid, 0)));
340 str = strdup("
[all...]
/freebsd-11.0-release/sys/cam/ctl/
H A Dctl_backend.c180 opt->name = strdup(args[i].kname, M_CTL);
181 opt->value = strdup(args[i].kvalue, M_CTL);
205 opt->value = strdup(args[i].kvalue, M_CTL);
208 opt->name = strdup(args[i].kname, M_CTL);
209 opt->value = strdup(args[i].kvalue, M_CTL);
/freebsd-11.0-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));
/freebsd-11.0-release/contrib/unbound/util/
H A Dalloc.h197 # ifdef strdup
198 # undef strdup macro
200 # define strdup(s) unbound_strdup_lite(s, __FILE__, __LINE__, __func__) macro
/freebsd-11.0-release/lib/libc/gen/
H A Dgetusershell.c128 sl_add(sl, strdup(sp));
254 sl_add(sl, strdup(_PATH_BSHELL));
255 sl_add(sl, strdup(_PATH_CSHELL));
/freebsd-11.0-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-11.0-release/lib/libnv/tests/
H A Dnvlist_move_test.c64 ptr = strdup("");
72 ptr = strdup("x");
81 ptr = strdup("abcdefghijklmnopqrstuvwxyz");
/freebsd-11.0-release/lib/libstand/
H A Denvironment.c92 ev->ev_name = strdup(name);
131 ev->ev_value = strdup(value);
170 copy = strdup(string);
/freebsd-11.0-release/contrib/ntp/sntp/libopts/compat/
H A Dpathfind.c22 return strdup(fname);
117 result = strdup( string );
166 result = strdup( path );
/freebsd-11.0-release/usr.bin/tset/
H A Dtset.c277 argv[0] = strdup("-e^H");
280 argv[0] = strdup("-i^C");
283 argv[0] = strdup("-k^U");
/freebsd-11.0-release/crypto/heimdal/lib/krb5/
H A Ddigest.c94 digest->init.channel->cb_type = strdup(type);
98 digest->init.channel->cb_binding = strdup(binding);
122 digest->init.type = strdup(type);
144 *digest->init.hostname = strdup(hostname);
170 digest->request.serverNonce = strdup(nonce);
194 digest->request.opaque = strdup(opaque);
225 *digest->request.identifier = strdup(id);
480 *digest->request.clientNonce = strdup(nonce);
500 digest->request.digest = strdup(dgst);
517 digest->request.username = strdup(usernam
[all...]
H A Dexpand_hostname.c41 *new_hostname = strdup (orig_hostname);
85 *new_hostname = strdup (a->ai_canonname);
/freebsd-11.0-release/sys/boot/common/
H A Dcommands.c81 *topic = strdup(cp + 1);
85 *subtopic = strdup(cp + 1);
87 *desc = strdup(cp + 1);
144 subtopic = strdup(argv[2]);
146 topic = strdup(argv[1]);
149 topic = strdup("help");
/freebsd-11.0-release/crypto/heimdal/lib/gssapi/ntlm/
H A Dcreds.c59 n->user = strdup(c->username);
60 n->domain = strdup(c->domain);
/freebsd-11.0-release/crypto/heimdal/lib/hx509/
H A Derror.c169 return strdup(cstr);
172 return strdup(cstr);
/freebsd-11.0-release/crypto/heimdal/lib/roken/
H A Drtbl.c135 col->header = strdup (header);
176 if((tmp[table->columns[c]->num_rows++].data = strdup("")) == NULL)
202 table->column_prefix = strdup (prefix);
213 table->column_separator = strdup (separator);
229 c->prefix = strdup (prefix);
248 c->prefix = strdup (prefix);
258 c->suffix = strdup (suffix);
291 row.data = strdup (data);
/freebsd-11.0-release/crypto/openssh/
H A Dsshbuf-misc.c81 return strdup("");
101 return strdup("");
/freebsd-11.0-release/contrib/gcclibs/libiberty/
H A Dmakefile.vms11 getopt1.obj,cplus-dem.obj,strncasecmp.obj,strcasecmp.obj,strdup.obj,\
/freebsd-11.0-release/contrib/binutils/gas/
H A Ditbl-lex.l80 yylval.str = strdup (yytext);
/freebsd-11.0-release/cddl/compat/opensolaris/misc/
H A Dzmount.c58 (*iov)[i].iov_base = strdup(name);
90 optstr = strdup(optptr);
/freebsd-11.0-release/sbin/hastd/
H A Dtoken.l80 [a-zA-Z0-9\.\-_/\:\[\]]+ { DP; yylval.str = strdup(yytext); return STR; }
/freebsd-11.0-release/usr.bin/ar/
H A Dacplex.l71 yylval.str = strdup(yytext);
73 errc(EX_SOFTWARE, errno, "strdup failed");
/freebsd-11.0-release/usr.bin/chpass/
H A Dutil.c171 return (strdup(name));
175 ret = strdup(sh);

Completed in 894 milliseconds

1234567891011>>