From 5f42fb06f93cf451a7b0494ad2a491a72d774cad Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Tue, 1 Aug 2006 16:41:02 +0000 Subject: [PATCH] - Added the exec() family functions to the makefiles and the header file. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15111 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/GNUmakefile.68k | 8 +++++++- library/GNUmakefile.os4 | 8 +++++++- library/include/unistd.h | 9 +++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/library/GNUmakefile.68k b/library/GNUmakefile.68k index 7865d55..91fb8d8 100644 --- a/library/GNUmakefile.68k +++ b/library/GNUmakefile.68k @@ -1,5 +1,5 @@ # -# $Id: GNUmakefile.68k,v 1.89 2006-07-28 14:37:27 obarthel Exp $ +# $Id: GNUmakefile.68k,v 1.90 2006-08-01 16:41:01 obarthel Exp $ # # :ts=8 # @@ -527,6 +527,12 @@ UNIX_LIB = \ unistd_chdir_exit.o \ unistd_chown.o \ unistd_common_pathconf.o \ + unistd_execl.o \ + unistd_execle.o \ + unistd_execlp.o \ + unistd_execv.o \ + unistd_execve.o \ + unistd_execvp.o \ unistd_fpathconf.o \ unistd_getcwd.o \ unistd_lchown.o \ diff --git a/library/GNUmakefile.os4 b/library/GNUmakefile.os4 index 2eb21ed..4bca0f5 100644 --- a/library/GNUmakefile.os4 +++ b/library/GNUmakefile.os4 @@ -1,5 +1,5 @@ # -# $Id: GNUmakefile.os4,v 1.102 2006-07-28 14:37:27 obarthel Exp $ +# $Id: GNUmakefile.os4,v 1.103 2006-08-01 16:41:01 obarthel Exp $ # # :ts=8 # @@ -570,6 +570,12 @@ UNIX_LIB = \ unistd_chdir_exit.o \ unistd_chown.o \ unistd_common_pathconf.o \ + unistd_execl.o \ + unistd_execle.o \ + unistd_execlp.o \ + unistd_execv.o \ + unistd_execve.o \ + unistd_execvp.o \ unistd_fpathconf.o \ unistd_getcwd.o \ unistd_lchown.o \ diff --git a/library/include/unistd.h b/library/include/unistd.h index dbb44e6..08ecabd 100644 --- a/library/include/unistd.h +++ b/library/include/unistd.h @@ -1,5 +1,5 @@ /* - * $Id: unistd.h,v 1.19 2006-07-28 14:37:28 obarthel Exp $ + * $Id: unistd.h,v 1.20 2006-08-01 16:41:02 obarthel Exp $ * * :ts=4 * @@ -122,7 +122,12 @@ extern int fdatasync(int file_descriptor); extern char *ttyname(int); extern int ttyname_r(int file_descriptor,char *name,size_t buflen); extern int ttyname_t(int,char *,size_t); - +extern int execl(const char *path,const char *arg0,...); +extern int execle(const char *path,const char *arg0,...): +extern int execlp(const char *path,const char *arg0,...); +extern int execv(const char *path,char * const argv[]); +extern int execve(const char *path,char *const argv[],char *const envp[]); +extern int execvp(const char *command,char * const argv[]); extern int profil(unsigned short *buffer, size_t bufSize, size_t offset, unsigned int scale); /****************************************************************************/