Searched refs:sl_str (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/man/
H A Dstringlist.c52 sl->sl_str = malloc(sl->sl_max * sizeof (char *));
53 if (sl->sl_str == NULL)
65 sl->sl_str = realloc(sl->sl_str, sl->sl_max * sizeof (char *));
66 if (sl->sl_str == NULL)
69 sl->sl_str[sl->sl_cur++] = name;
82 if (sl->sl_str) {
85 free(sl->sl_str[i]);
86 free(sl->sl_str);
98 if (strcmp(sl->sl_str[
[all...]
H A Dstringlist.h42 char **sl_str; member in struct:_stringlist
H A Dmakewhatis.c278 dir, names->sl_str[i], suffix, suffixes[j]);
333 qsort(whatis_lines->sl_str, whatis_lines->sl_cur, sizeof (char *),
336 char *line = whatis_lines->sl_str[i];
721 add_whatis_name(names->sl_str[i], page->suffix);
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dmisc.c94 char *sl_str = NULL; local
100 if ((label_to_str(sl, &sl_str, M_LABEL, DEF_NAMES) != 0) &&
101 (label_to_str(sl, &sl_str, M_INTERNAL, DEF_NAMES) != 0))
104 return (sl_str);
127 char *sl_str = NULL; local
146 sl_str =
149 "sl=%s", sl_str);
150 free(sl_str);
151 sl_str = NULL;
155 sl_str
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c4721 char *sl_str; local
4723 sl_str = sl_to_str(&attr->tme_label);
4724 (void) printf(" %s\n", sl_str);
4725 free(sl_str);

Completed in 65 milliseconds