home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
lisp
/
interpre
/
xlispplu
/
spawno
/
spawnvpo.c
< prev
Wrap
C/C++ Source or Header
|
1990-09-12
|
889b
|
29 lines
/********************************************************************/
/* SPAWNO v2.0 XMS/disk swapping replacement for spawn...() */
/* (c) Copyright 1990 Ralf Brown All Rights Reserved */
/* */
/* May be freely copied provided that this copyright notice is */
/* not altered or removed. */
/********************************************************************/
#include "spawno.h"
#include <errno.h>
extern int errno ;
char * pascal __spawn_search(const char *) ;
int _Cdecl spawnvpo(const char *overlay_path, const char *name, va_list args)
{
char *prog_path = __spawn_search(name) ;
if (prog_path)
return __spawnv(overlay_path,prog_path,args,0) ;
else
{
errno = ENOENT ; /* path or filename not found */
/* _doserrno already set by __spawn_search() */
return -1 ;
}
}