OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [posix/] [execv.c] - Rev 1773

Go to most recent revision | Compare with Previous | Blame | View Log

/* execv.c */
 
/* This and the other exec*.c files in this directory require 
   the target to provide the _execve syscall.  */
 
#include <_ansi.h>
#include <unistd.h>
 
/* Only deal with a pointer to environ, to work around subtle bugs with shared
   libraries and/or small data systems where the user declares his own
   'environ'.  */
static char ***p_environ = &environ;
 
int
_DEFUN (execv, (path, argv), 
	const char *path _AND
	char * const argv[])
{
  return _execve (path, (char * _CONST *) argv, *p_environ);
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.