execve.c 381 B

12345678910111213141516
  1. /*
  2. * execve() for uClibc
  3. *
  4. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  5. *
  6. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. */
  8. #include <sys/syscall.h>
  9. #include <unistd.h>
  10. #include <string.h>
  11. #include <sys/param.h>
  12. _syscall3(int, execve, const char *, filename,
  13. char *const *, argv, char *const *, envp)
  14. libc_hidden_def(execve)