*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> pcreate (3c)              
Title
Content
Arch
Section
 

c(2)

Contents


PCREATE(3C)							   PCREATE(3C)


NAME    [Toc]    [Back]

     pcreate: pcreatel,	pcreatev, pcreateve, pcreatelp,	pcreatevp - create a
     process

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int pcreatel(const	char *path, const char *arg0, ...,
	       const char *argn, 0);

     int pcreatev(const	char *path, char * const *argv);

     int pcreateve(const char *path, char * const *argv,	   char	*
     const*envp);

     int pcreatelp(const char *file, const char	*arg0, ...,
	       const char *argn, 0);

     int pcreatevp(const char *file, char * const *argv);

DESCRIPTION    [Toc]    [Back]

     pcreate in	all its	forms creates a	new process and	runs the requested
     program.  These routines are equivalent to	a fork(2) and exec(2) pair
     except that the caller incurs only	a small	logical	swap space penalty
     compared to fork.	pcreate	(using sproc(2)) requires that the calling
     process have enough virtual space left (see setrlimit(2)) to create a
     temporary 32K stack for the new process.  This new	stack also requires
     system logical swap space.	 A fork	on the other hand duplicates the
     calling process, which requires the system	to reserve logical swap	space
     for all modifiable	portions of the	calling	process.  A very large process
     may not be	allowed	to fork	due to insufficient backing store (swap	area).

SEE ALSO    [Toc]    [Back]

      
      
     fork(2), exec(2), prctl(2), setrlimit(2), sproc(2).

DIAGNOSTICS    [Toc]    [Back]

     all diagnostics are from either sproc [ Back ]

 Similar pages
Name OS Title
fork HP-UX create a new process
fork Tru64 Create a new process
fork NetBSD create a new process
fork OpenBSD create a new process
fork FreeBSD create a new process
vfork Tru64 Create a new process
fork1 NetBSD create a new process
fork1 OpenBSD create a new process
fork IRIX create a new process
clone Linux create a child process
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service