#include <sys/types.h> #include <lclib.h> pid_t oeattache(const char *file, char *const argv, char *const envp);
oeattchefunction is identical to the
oeattachfunction with one exception: it has an additional argument. The
envpargument is a pointer to an array of pointers to null-terminated strings, which define the environment variables for the new process. A
NULLpointer is used to mark the end of the array.
oeattacheis successful, it returns the process ID of the new process. If it is unsuccessful, it returns
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.