Lines Matching defs:argv
872 char** uv_setup_args(int argc, char** argv) {
880 return argv;
882 /* Save the original pointer to argv.
883 * AIX uses argv to read the process name.
884 * (Not the memory pointed to by argv[0..n] as on Linux.)
886 process_argv = argv;
889 /* Use argv[0] to determine value for uv_exepath(). */
891 if (uv__search_path(argv[0], exepath, &size) == 0) {
898 /* Calculate how much memory we need for the argv strings. */
901 size += strlen(argv[i]) + 1;
903 /* Add space for the argv pointers. */
908 return argv;
914 size = strlen(argv[i]) + 1;
915 memcpy(s, argv[i], size);
943 * don't free and set argv[1] to NULL.