home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / posix / unistd / execlpe.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-26  |  345 b   |  12 lines

  1. /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
  2. #include <libc/stubs.h>
  3. #include <unistd.h>
  4. #include <process.h>
  5. #include <libc/dosexec.h>
  6.  
  7. int execlpe(const char *path, const char *argv0, ... /*, const char **envp */)
  8. {
  9.   scan_ptr();
  10.   return spawnvpe(P_OVERLAY, path, (char * const *)&argv0, (char * const *)ptr);
  11. }
  12.