Searched defs:argc (Results 201 - 202 of 202) sorted by last modified time

123456789

/system/netd/
H A Dlogwrapper.c92 void child(int argc, const char**argv) { argument
94 char* argv_child[argc + 1];
95 memcpy(argv_child, argv, argc * sizeof(char *));
96 argv_child[argc] = NULL;
106 int logwrap(int argc, const char* argv[]) argument
150 child(argc, argv);
H A Dndc.c36 static int do_cmd(int sock, int argc, char **argv);
38 int main(int argc, char **argv) { argument
42 if (argc < 2)
57 if (argc < 3) usage(argv[0]);
64 exit(do_cmd(sock, argc-cmdOffset, &(argv[cmdOffset])));
67 static int do_cmd(int sock, int argc, char **argv) { argument
76 for (i = 1; i < argc; i++) {
87 (i == (argc -1)) ? "" : " ") < 0) {

Completed in 53 milliseconds

123456789