Searched refs:strdup (Results 1 - 25 of 1252) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrdup.c32 #pragma weak _strdup = strdup
46 strdup(const char *s1) function
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrdup.c11 strdup(const char *src) { function
/illumos-gate/usr/src/cmd/ldap/common/
H A Dconvutf8.c59 * ICU version always returns string, unless strdup fails.
60 * As in ICU version, in case of error strdup(src)
61 * Usually strdup(src) will be ASCII and legal anyways.
76 return (strdup(src));
79 return (strdup(src));
83 return (strdup(src));
93 return (strdup(src));
155 return (strdup(src));
165 return (strdup(src));
176 return (strdup(sr
[all...]
H A Dldapmodrdn.c73 if (( L_newParent = strdup( argv[argc - 1] )) == NULL )
75 perror( "strdup" );
79 if (( rdn = strdup( argv[argc - 2] )) == NULL )
81 perror( "strdup" );
85 if (( entrydn = strdup( argv[argc - 3] )) == NULL )
87 perror( "strdup" );
94 if (( rdn = strdup( argv[argc - 1] )) == NULL )
96 perror( "strdup" );
100 if (( entrydn = strdup( argv[argc - 2] )) == NULL )
102 perror( "strdup" );
[all...]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc.c68 ep->family = strdup(nc->nc_protofmly);
71 ep->proto = strdup(nc->nc_netid);
73 ep->proto = strdup(nc->nc_proto);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpcdname.c49 extern char *strdup();
70 default_domain = strdup(temp);
72 syslog(LOG_ERR, "get_default_domain : strdup failed.");
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c237 *error = strdup(gettext("no hostname specified"));
258 *error = strdup(gettext("invalid host:port:mech "
264 *error = strdup(gettext("invalid hostname "
272 *error = strdup(gettext("empty hostname "
286 *error = strdup(gettext("host not found, "
290 *error = strdup(gettext("host not found"));
306 *error = strdup(gettext(
316 *error = strdup(gettext("invalid port number"));
326 *error = strdup(gettext("unknown mechanism"));
339 *error = strdup(gettex
[all...]
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dm_nls.h55 #define m_msgdup(m) (strdup(m))
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dsys_info.c50 ret_val = strdup(host);
/illumos-gate/usr/src/stand/lib/sa/
H A Dstrdup.c34 strdup(const char *s) function
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathbin.c41 if (!*(bin = astconf("PATH", NiL, NiL)) || !(bin = strdup(bin)))
H A Dpathpath.c53 cmd = a ? strdup(a) : (char*)0;
69 return (path == buf) ? strdup(path) : path;
87 cmd = strdup(s);
99 return path == buf ? strdup(s) : s;
110 return (s && path == buf) ? strdup(s) : s;
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dvasprintf.c35 if (!(*s = strdup(sfstruse(f))))
/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrdup.c38 strdup(register const char* s) function
/illumos-gate/usr/src/lib/libast/common/vec/
H A Dvecstring.c43 if (!str || !*str || !(buf = strdup(str))) vec = 0;
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dstring.h47 extern char * strdup(/* char *s1 */);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstrdup.c37 strdup(const char *str) function
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c155 yn.yes_expr = strdup(nl_langinfo(YESEXPR));
156 yn.no_expr = strdup(nl_langinfo(NOEXPR));
157 yn.yes_str = strdup(nl_langinfo(YESSTR));
158 yn.no_str = strdup(nl_langinfo(NOSTR));
175 _dtconv.date_time_format = strdup(nl_langinfo(D_T_FMT));
176 _dtconv.date_format = strdup(nl_langinfo(D_FMT));
177 _dtconv.time_format = strdup(nl_langinfo(T_FMT));
178 _dtconv.time_format_ampm = strdup(nl_langinfo(T_FMT_AMPM));
179 _dtconv.am_string = strdup(nl_langinfo(AM_STR));
180 _dtconv.pm_string = strdup(nl_langinf
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c117 if (!(*ppcScopes = strdup("default"))) {
158 if (!(*ppcScopes = strdup(useScopes))) {
166 if (return_default && !(*ppcScopes = strdup("default"))) {
194 if (!(ascope = strdup(s))) { /* no memory! */
364 if (!(url = strdup(u))) {
388 if (!(ascope = strdup(s))) { /* no memory! */
573 if (!(pe->key = strdup(pcName))) {
579 if (!(pe->val = strdup(pcValue))) {
629 pe->key = strdup(SLP_CONFIG_ISBROADCASTONLY);
630 pe->val = strdup("fals
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dfulldevnm.c116 return (strdup(path));
119 return (strdup(""));
218 return (strdup(""));
236 return (strdup(""));
240 return (strdup(""));
292 return (strdup(""));
296 return (strdup(""));
344 return (strdup(""));
357 return (strdup(""));
365 return (strdup(""));
[all...]
/illumos-gate/usr/src/lib/libfru/libfru/
H A DnameSyntaxLex.l61 [_a-zA-Z0-9]+ { yylval.name = strdup(yytext); return NAME; }
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_main.c106 label = strdup(optarg);
118 tmp_ptr = strdup(optarg);
140 tmp_ptr = strdup(optarg);
171 tmp_ptr = strdup(optarg);
185 slice_file = strdup(optarg);
194 tmp_ptr = strdup(optarg);
207 tmp_ptr = strdup(optarg);
220 tmp_ptr = strdup(optarg);
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c114 nsh->sh_path = strdup(sh->sh_path);
120 nsh->sh_res = strdup(sh->sh_res);
125 nsh->sh_fstype = strdup(sh->sh_fstype);
130 nsh->sh_opts = strdup(sh->sh_opts);
135 nsh->sh_descr = strdup(sh->sh_descr);
176 b = bb = strdup(optlist);
185 val = strdup(pe + 1);
190 val = strdup("");
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dgetifname.c55 return strdup(netif.if_xname);
69 return strdup(buf);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dfakewin.h46 #define strdup _fstrdup macro

Completed in 262 milliseconds

1234567891011>>