Searched refs:UNCONST (Results 1 – 10 of 10) sorted by relevance
110 #define UNCONST(a) ((void *)(uintptr_t)(const void *)(a)) in const_execvp() macro111 return execvp(file, UNCONST(argv)); in const_execvp()112 #undef UNCONST in const_execvp()
209 #define UNCONST(a) ((void *)(uintptr_t)(const void *)(a)) in write_resfile() macro210 iov[count].iov_base = UNCONST(result); in write_resfile()223 iov[count].iov_base = UNCONST(r); in write_resfile()226 #undef UNCONST in write_resfile()
556 #define UNCONST(a) ((void *)(uintptr_t)(const void *)(a)) in const_execvp() macro557 return execvp(file, UNCONST(argv)); in const_execvp()558 #undef UNCONST in const_execvp()
1594 argv[0] = UNCONST(shellName); in JobMakeArgv()1621 argv[argc] = UNCONST(shell->errFlag); in JobMakeArgv()1625 argv[argc] = UNCONST(shell->echoFlag); in JobMakeArgv()2533 free(UNCONST(shellPath)); in Job_ParseShell()2549 path = UNCONST(shellPath); in Job_ParseShell()
290 words.words[i] = UNCONST(swords.words[i].start); in Str_Words()
367 (void)execvp(av[0], (char *const *)UNCONST(av)); in Compat_RunCommand()
1136 UNCONST(const void *ptr) in UNCONST() function
1757 (void)execv(shellPath, UNCONST(args)); in Cmd_Exec()
1382 remove UNCONST from Dir_Expand
397 * strptime.c: UNCONST return value from strptime