libroot: Add a private __look_up_in_path function.
Refactored out of execvpe. Originally I did this for my attempted change to posix_spawn, but that change turned out to be wrong and actually not that beneficial. This bit seems potentially useful, though, so here it is.
This commit is contained in:
@@ -23,6 +23,7 @@ extern int __gABIVersion;
|
||||
extern char _single_threaded;
|
||||
/* This determines if a process runs single threaded or not */
|
||||
|
||||
status_t __look_up_in_path(const char *name, char *buffer);
|
||||
status_t __parse_invoke_line(char *invoker, char ***_newArgs,
|
||||
char * const **_oldArgs, int32 *_argCount, const char *arg0);
|
||||
status_t __get_next_image_dependency(image_id id, uint32 *cookie,
|
||||
|
||||
Reference in New Issue
Block a user