home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / FS191 / XSPAWN33 / XSPAWNLE.C < prev    next >
Text File  |  1991-05-04  |  594b  |  23 lines

  1. /*
  2.  *                   XSPAWN
  3.  *                Version 1.33
  4.  *  (C) Copyright 1990 Whitney Software, Inc.
  5.  *             All Rights Reserved
  6.  */
  7.  
  8. #include <stdio.h>
  9. #include "xspawnp.h"
  10.  
  11. int xspawnle( modeflag, path, arglist )
  12. int modeflag;                    /* execution mode for parent process */
  13. char *path;                      /* file to be executed */
  14. char *arglist;                   /* list of pointers to arguments */
  15. {
  16.     register char **p;
  17.  
  18.     for ( p = &arglist; *p; p++ )
  19.         ;
  20.  
  21.     return( xspawnve( modeflag, path, &arglist, ( char ** )*++p ));
  22. }
  23.