Searched refs:strv (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libast/common/misc/
H A Doptlib.h84 char* strv[3]; /* optstr() argv */ member in struct:Optstate_s
H A Doptget.c4015 if (opt_info.index == 1 && opt_info.argv != opt_info.state->strv)
5152 if (argv == opt_info.state->strv)
5308 opt_info.argv = opt_info.state->strv;
5309 opt_info.state->strv[0] = T(NiL, ID, "option");
5310 if (!(opt_info.state->strv[1] = sfstruse(mp)))
5312 opt_info.state->strv[2] = 0;
5317 if (!opt_info.state->strv[1])
5325 c = optget(opt_info.state->strv, opts);
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.c788 gchar **strv; local
792 strv = g_new (char *, len + 1);
795 strv[j] = g_strdup ((const gchar *) i->data);
797 strv[j] = NULL;
799 return strv;
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c854 my_strvdup (char **strv) argument
860 for (num_elems = 0; strv[num_elems] != NULL; num_elems++)
868 res[i] = strdup (strv[i]);

Completed in 94 milliseconds