Lines Matching defs:sl
114 StringList *sl;
131 if ((sl = sl_init()) == NULL)
135 if (sl_add(sl, ftpd_strdup(argv[0])) == -1)
144 if (sl_add(sl, ftpd_strdup(argv[argc])) == -1) {
150 if (sl_add(sl, ftpd_strdup(*pop)) == -1) {
158 if (sl_add(sl, NULL) == -1)
162 isls = (strcmp(sl->sl_str[0], INTERNAL_LS) == 0);
194 exit(ls_main(sl->sl_cur - 1, sl->sl_str));
198 execv(sl->sl_str[0], sl->sl_str);
212 if (sl)
213 sl_free(sl, 1);