Lines Matching defs:argc
62 static void getit(int argc, char *argv[], int restartit, char *mode);
103 setpeer(int argc, char *argv[])
113 if (argc < 2) {
119 argc = margc;
122 if (argc > 3 || argc < 2) {
128 host = hookup(argv[1], (argc > 2 ? argv[2] : "ftp"));
217 settype(int argc, char *argv[])
222 if (argc > 2) {
236 if (argc < 2) {
264 setbinary(int argc, char *argv[])
274 setascii(int argc, char *argv[])
284 settenex(int argc, char *argv[])
294 setebcdic(int argc, char *argv[])
304 setmode(int argc, char *argv[])
315 setform(int argc, char *argv[])
326 setstruct(int argc, char *argv[])
337 put(int argc, char *argv[])
343 if (argc == 2) {
344 argc++;
348 if (argc < 2) {
354 argc = margc;
357 if (argc < 2) {
363 if (argc < 3) {
369 argc = margc;
372 if (argc < 3)
421 mput(int argc, char *argv[])
429 if (argc < 2) {
435 argc = margc;
438 if (argc < 2) {
507 for (i = 1; i < argc; i++) {
561 restart(int argc, char *argv[])
565 if (argc > 2) {
570 if (argc == 2) {
594 reget(int argc, char *argv[])
596 getit(argc, argv, 1, "r+w");
600 get(int argc, char *argv[])
602 getit(argc, argv, 0, restart_point ? "r+w" : "w");
609 getit(int argc, char *argv[], int restartit, char *mode)
615 if (argc == 2) {
616 argc++;
622 if (argc < 2) {
628 argc = margc;
631 if (argc < 2) {
638 if (argc < 3) {
644 argc = margc;
647 if (argc < 3)
703 mget(int argc, char *argv[])
711 if (argc < 2) {
717 argc = margc;
720 if (argc < 2) {
846 status(int argc, char *argv[])
917 setbell(int argc, char *argv[])
929 settrace(int argc, char *argv[])
941 sethash(int argc, char *argv[])
956 setverbose(int argc, char *argv[])
968 setport(int argc, char *argv[])
981 setprompt(int argc, char *argv[])
994 setglob(int argc, char *argv[])
1006 setdebug(int argc, char *argv[])
1010 if (argc > 1) {
1033 cd(int argc, char *argv[])
1035 if (argc < 2) {
1042 argc = margc;
1045 if (argc < 2) {
1058 lcd(int argc, char *argv[])
1062 if (argc < 2)
1063 argc++, argv[1] = home;
1064 if (argc != 2) {
1092 delete(int argc, char *argv[])
1095 if (argc < 2) {
1101 argc = margc;
1104 if (argc < 2) {
1116 mdelete(int argc, char *argv[])
1122 if (argc < 2) {
1128 argc = margc;
1131 if (argc < 2) {
1165 renamefile(int argc, char *argv[])
1168 if (argc < 2) {
1174 argc = margc;
1177 if (argc < 2) {
1183 if (argc < 3) {
1189 argc = margc;
1192 if (argc < 3)
1203 ls(int argc, char *argv[])
1207 if (argc < 2)
1208 argc++, argv[1] = NULL;
1209 if (argc < 3)
1210 argc++, argv[2] = "-";
1211 if (argc > 3) {
1235 mls(int argc, char *argv[])
1241 if (argc < 2) {
1247 argc = margc;
1250 if (argc < 3) {
1256 argc = margc;
1259 if (argc < 3) {
1264 dest = argv[argc - 1];
1265 argv[argc - 1] = NULL;
1277 for (i = 1; mflag && i < argc-1; ++i) {
1298 shell(int argc, char *argv[])
1318 if (argc > 1) {
1354 user(int argc, char *argv[])
1359 if (argc < 2) {
1365 argc = margc;
1368 if (argc > 4) {
1382 if (argc < 3)
1383 argv[2] = mygetpass("Password: "), argc++;
1392 if (argc < 4) {
1398 argv[3] = acct; argc++;
1407 if (!aflag && argc == 4) {
1417 pwd(int argc, char *argv[])
1426 makedir(int argc, char *argv[])
1428 if (argc < 2) {
1435 argc = margc;
1438 if (argc < 2) {
1450 removedir(int argc, char *argv[])
1452 if (argc < 2) {
1459 argc = margc;
1462 if (argc < 2) {
1474 quote(int argc, char *argv[])
1479 if (argc < 2) {
1486 argc = margc;
1489 if (argc < 2) {
1496 for (i = 2; i < argc; i++) {
1514 site(int argc, char *argv[])
1519 if (argc < 2) {
1526 argc = margc;
1529 if (argc < 2) {
1536 for (i = 2; i < argc; i++) {
1554 rmthelp(int argc, char *argv[])
1559 (void) command(argc == 1 ? "HELP" : "HELP %s", argv[1]);
1568 quit(int argc, char *argv[])
1584 disconnect(int argc, char *argv[])
1667 account(int argc, char *argv[])
1671 if (argc > 1) {
1673 --argc;
1676 while (argc > 1) {
1677 --argc;
1707 doproxy(int argc, char *argv[])
1712 if (argc < 2) {
1718 argc = margc;
1721 if (argc < 2) {
1759 (*c->c_handler)(argc-1, argv+1);
1771 setcase(int argc, char *argv[])
1780 setcr(int argc, char *argv[])
1788 setntrans(int argc, char *argv[])
1790 if (argc == 1) {
1800 if (argc == 2) {
1837 setnmap(int argc, char *argv[])
1841 if (argc == 1) {
1847 if (argc < 3) {
1853 argc = margc;
1856 if (argc < 3) {
2096 setsunique(int argc, char *argv[])
2105 setrunique(int argc, char *argv[])
2114 setpassive(int argc, char *argv[])
2122 settcpwindow(int argc, char *argv[])
2126 if (argc > 2) {
2131 if (argc == 2) {
2155 cdup(int argc, char *argv[])
2161 macdef(int argc, char *argv[])
2171 if (argc < 2) {
2177 argc = margc;
2180 if (argc != 2) {
2269 setclevel(int argc, char *argv[])
2275 if (argc > 2) {
2289 if (argc < 2) {
2325 setdlevel(int argc, char *argv[])
2330 if (argc != 2) {
2371 ccc(int argc, char *argv[])
2382 setclear(int argc, char *argv[])
2393 setsafe(int argc, char *argv[])
2404 setprivate(int argc, char *argv[])
2414 setmech(int argc, char *argv[])
2418 if (argc < 2) {
2424 argc = margc;
2428 if (argc != 2) {