Lines Matching defs:argv
888 char** uv_setup_args(int argc, char** argv) {
896 return argv;
898 /* Save the original pointer to argv.
899 * AIX uses argv to read the process name.
900 * (Not the memory pointed to by argv[0..n] as on Linux.)
902 process_argv = argv;
905 /* Use argv[0] to determine value for uv_exepath(). */
907 if (uv__search_path(argv[0], exepath, &size) == 0) {
914 /* Calculate how much memory we need for the argv strings. */
917 size += strlen(argv[i]) + 1;
919 /* Add space for the argv pointers. */
924 return argv;
930 size = strlen(argv[i]) + 1;
931 memcpy(s, argv[i], size);
959 * don't free and set argv[1] to NULL.