home *** CD-ROM | disk | FTP | other *** search
- /* spawnlp.c (emx+gcc) -- Copyright (c) 1992-1993 by Eberhard Mattes */
-
- #include <stddef.h>
- #include <process.h>
- #include <stdarg.h>
-
- int spawnlp (int mode, const char *name, const char *arg0, ...)
- {
- va_list arg_ptr;
- int result;
-
- va_start (arg_ptr, name);
- result = spawnvp (mode, name, (const char * const *)arg_ptr);
- va_end (arg_ptr);
- return (result);
- }
-