ld: implement support for exposing ld functions to loaded executables
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#ifndef EXEC_H_
|
||||
#define EXEC_H_
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
extern int ld_execl(const char *path, const char *arg1, va_list arg);
|
||||
extern int ld_execlp(const char *file, const char *arg1, va_list arg);
|
||||
extern int ld_execle(const char *path, const char *arg1, va_list arg);
|
||||
extern int ld_execv(const char *path, char *const argv[]);
|
||||
extern int ld_execvp(const char *file, char *const argv[]);
|
||||
extern int ld_execvpe(const char *file, char *const argv[], char *const envp[]);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user