GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FEXECL(3) Schily´s LIBRARY FUNCTIONS FEXECL(3)

fexecl() - executes a program

fexecl(name, in, out, err, arg0, arg1, ... argn, NULL)
char *name;
FILE *in, *out, *err;
char *arg0...*argn;

fexecl() is a variation of fexecve(). The description of fexecve() applies to fexecl(), with two exceptions. First, fexecl() does not permit the environment list to be specified; it causes the new program to have the same environment as the current program, using the global environment pointer environ. Second, the argument list for the new program is constructed as part of the call to fexecl(). This is a lot easier to write than the code to construct a vector of strings, but is limited to cases with a fixed number of arguments. The argument list will consist of the strings a0, a1, and so on. By convention, a0 is the name of the new program.

Returns system error code; doesn't return if successful.

none
15. Juli 1988 Joerg Schilling

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.