FEXECLE(3)
πΈ NAME πΈ
fexecle() β executes a program. That's it, that's the vibe: it executes a program, bestie. π«Ά
β¨ SYNOPSIS β¨
fexecle(name, in, out, err, a0, a1, a2, ... NULL, envptr)
char *name;
FILE *in, *out, *err;
char *a0, *a1, *a2...;
char **envptr;
π DESCRIPTION π
okay so fexecle() is a variation of fexecve(), and the description for fexecve() also applies to fexecle() β except for the argument list. No cap. β¨
The way that fexecle() works is it permits the argument list β which is a vector of pointers with a NULL at the end β to be constructed as part of the call to fexecle(), rather than as a C vector. It's giving "args built right into the call," and we're obsessed. π
Thus, in the new program, av[0] will be the same as a0 in this program, etc. Literally the same, periodt. π
π RETURNS π
Returns a system error code; fexecle() does not return if it succeeds. So on success it just dips and never comes back β highkey iconic β and the return is a system error code. π
that's the page, bestie π«Ά from SchilyΒ΄s LIBRARY FUNCTIONS, written by Joerg Schilling, dated 2022/09/09. slay. π
π¦ where this page comes from
- opensuse-leap 16.0: libschily-devel-doc 2022.10.16-160000.2.2 Β· CDDL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms