/seL4-refos-master/libs/libmuslc/src/process/ |
H A D | execv.c | 5 int execv(const char *path, char *const argv[]) argument 7 return execve(path, argv, __environ);
|
H A D | execve.c | 4 int execve(const char *path, char *const argv[], char *const envp[]) argument 7 return syscall(SYS_execve, path, argv, envp);
|
H A D | execl.c | 13 char *argv[argc+1]; local 15 argv[0] = (char *)argv0; 17 argv[i] = va_arg(ap, char *); 18 argv[i] = NULL; 20 return execv(path, argv);
|
H A D | execlp.c | 13 char *argv[argc+1]; local 15 argv[0] = (char *)argv0; 17 argv[i] = va_arg(ap, char *); 18 argv[i] = NULL; 20 return execvp(file, argv);
|
H A D | execle.c | 13 char *argv[argc+1]; local 16 argv[0] = (char *)argv0; 18 argv[i] = va_arg(ap, char *); 21 return execve(path, argv, envp);
|
H A D | fexecve.c | 6 int fexecve(int fd, char *const argv[], char *const envp[]) argument 10 execve(buf, argv, envp);
|
H A D | posix_spawnp.c | 14 char *const argv[restrict], char *const envp[restrict]) 16 return __posix_spawnx(res, file, __execvpe, fa, attr, argv, envp); 11 posix_spawnp(pid_t *restrict res, const char *restrict file, const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]) argument
|
H A D | execvp.c | 10 int __execvpe(const char *file, char *const argv[], char *const envp[]) argument 20 return execve(file, argv, envp); 41 execve(b, argv, envp); 50 int execvp(const char *file, char *const argv[]) argument 52 return __execvpe(file, argv, __environ);
|
H A D | posix_spawn.c | 20 char *const *argv, *const *envp; member in struct:args 133 args->exec(args->path, args->argv, args->envp); 148 char *const argv[restrict], char *const envp[restrict]) 164 args.argv = argv; 192 char *const argv[restrict], char *const envp[restrict]) 194 return __posix_spawnx(res, path, execve, fa, attr, argv, envp); 144 __posix_spawnx(pid_t *restrict res, const char *restrict path, int (*exec)(const char *, char *const *, char *const *), const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]) argument 189 posix_spawn(pid_t *restrict res, const char *restrict path, const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]) argument
|
/seL4-refos-master/libs/libmuslc/src/misc/ |
H A D | getopt_long.c | 9 static void permute(char *const *argv, int dest, int src) argument 11 char **av = (char **)argv; 21 static int __getopt_long_core(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly); 23 static int __getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly) argument 31 if (optind >= argc || !argv[optind]) return -1; 36 if (i >= argc || !argv[i]) return -1; 37 if (argv[i][0] == '-' && argv[i][1]) break; 42 ret = __getopt_long_core(argc, argv, optstring, longopts, idx, longonly); 46 permute(argv, skippe 52 __getopt_long_core(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly) argument 123 getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx) argument 128 getopt_long_only(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx) argument [all...] |
H A D | getopt.c | 27 int getopt(int argc, char * const argv[], const char *optstring) argument 40 if (optind >= argc || !argv[optind]) 43 if (argv[optind][0] != '-') { 45 optarg = argv[optind++]; 51 if (!argv[optind][1]) 54 if (argv[optind][1] == '-' && !argv[optind][2]) 58 if ((k = mbtowc(&c, argv[optind]+optpos, MB_LEN_MAX)) < 0) { 62 optchar = argv[optind]+optpos; 66 if (!argv[optin [all...] |
/seL4-refos-master/libs/libmuslc/crt/ |
H A D | crt1.c | 16 char **argv = (void *)(p+1); local 17 __libc_start_main(main, argc, argv, _init, _fini, 0);
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/unix/ |
H A D | unixmain.c | 49 nethack_main(argc,argv) 51 char *argv[]; 63 char mac_cwd[1024], *mac_exe = argv[0], *mac_tmp; 70 mac_exe = argv[0]; 75 if(!strcmp(argv[0] + (arg0_len - mac_tmp_len), mac_tmp)) { 79 strncpy(mac_tmp, argv[0], mac_lhs_len); 88 hname = argv[0]; 107 if (!strncmp(argv[1], "-d", 2) && argv[1][2] != 'e') { 112 argv [all...] |
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/ |
H A D | unixmain.c | 49 nethack_main(argc,argv) 51 char *argv[]; 63 char mac_cwd[1024], *mac_exe = argv[0], *mac_tmp; 70 mac_exe = argv[0]; 75 if(!strcmp(argv[0] + (arg0_len - mac_tmp_len), mac_tmp)) { 79 strncpy(mac_tmp, argv[0], mac_lhs_len); 88 hname = argv[0]; 107 if (!strncmp(argv[1], "-d", 2) && argv[1][2] != 'e') { 112 argv [all...] |
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/ |
H A D | pcmain.c | 58 STATIC_DCL void FDECL(process_options,(int argc,char **argv)); 102 main(argc,argv) 104 char *argv[]; 106 pcmain(argc,argv); 122 pcmain(argc,argv) 124 char *argv[]; 142 if (*argv[0]) { /* only a CLI can give us argv[0] */ 143 hname = argv[0]; 167 dir = exepath(argv[ [all...] |
H A D | uudecode.c | 87 int main(argc, argv) 89 char **argv; 98 if ((in = fopen(argv[1], "r")) == NULL) { 99 perror(argv[1]); 102 argv++; argc--;
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/ |
H A D | pcmain.c | 58 STATIC_DCL void FDECL(process_options,(int argc,char **argv)); 102 main(argc,argv) 104 char *argv[]; 106 pcmain(argc,argv); 122 pcmain(argc,argv) 124 char *argv[]; 142 if (*argv[0]) { /* only a CLI can give us argv[0] */ 143 hname = argv[0]; 167 dir = exepath(argv[ [all...] |
H A D | uudecode.c | 87 int main(argc, argv) 89 char **argv; 98 if ((in = fopen(argv[1], "r")) == NULL) { 99 perror(argv[1]); 102 argv++; argc--;
|
/seL4-refos-master/kernel/manual/tools/ |
H A D | gen_env.py | 15 if len(sys.argv) != 2: 18 output_filename = sys.argv[1] 41 with open(sys.argv[1], "r") as f: 46 with open(sys.argv[1], "w") as f:
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/ |
H A D | refos_nethack.c | 27 main(int argc, char **argv) argument
|
/seL4-refos-master/apps/nethack/src/ |
H A D | refos_nethack.c | 27 main(int argc, char **argv) argument
|
/seL4-refos-master/libs/libmuslc/src/env/ |
H A D | __libc_start_main.c | 66 int __libc_start_main(int (*main)(int,char **,char **), int argc, char **argv) argument 68 char **envp = argv+argc+1; 70 __init_libc(envp, argv[0]); 74 exit(main(argc, argv, envp));
|
/seL4-refos-master/seL4_tools/misc/ |
H A D | cpio-strip.c | 51 int main(int argc, char **argv) argument 55 " Strip meta data from a CPIO file\n", argv[0]); 63 archive = fopen(argv[1], "r+");
|
/seL4-refos-master/libs/libsel4utils/include/sel4utils/ |
H A D | process.h | 105 * int main(int argc, char **argv) { }; 121 * @param argv a pointer to an array of strings in the current vspace. 128 int argc, char *argv[], int resume); 135 * argc and argv in the form as passed here, but should be an _start routine that will 138 * and argv 144 * @param argv a pointer to an array of strings in the current vspace. 151 int argc, char *argv[], int resume); 274 * @param argv empty 1d array of char pointers which will be set up with pointers to 280 void sel4utils_create_word_args(char strings[][WORD_STRING_SIZE], char *argv[], int argc, ...);
|
/seL4-refos-master/projects/seL4_libs/libsel4utils/include/sel4utils/ |
H A D | process.h | 105 * int main(int argc, char **argv) { }; 121 * @param argv a pointer to an array of strings in the current vspace. 128 int argc, char *argv[], int resume); 135 * argc and argv in the form as passed here, but should be an _start routine that will 138 * and argv 144 * @param argv a pointer to an array of strings in the current vspace. 151 int argc, char *argv[], int resume); 274 * @param argv empty 1d array of char pointers which will be set up with pointers to 280 void sel4utils_create_word_args(char strings[][WORD_STRING_SIZE], char *argv[], int argc, ...);
|