SPAWNV(3)
π SPAWNV(3) π
okay so this one is from SchilyΒ΄s LIBRARY FUNCTIONS, and itβs giving βcall a command with exactly the arguments you pickedβ energy β¨
πΈ NAME πΈ
spawnv() β calls a command with specified arguments, periodt π
β¨ SYNOPSIS β¨
int spawnv(Sin,Sout,Serr,ArgC,ArgV)
FILE *Sin, *Sout, *Serr;
int ArgC;
char *ArgV[];
π¦ DESCRIPTION π¦
okay bestie, so spawnv() causes the command named in ArgV[0] to be called with the given arguments. like, the command is literally ArgV[0] β thatβs the main character right there π
Functionally this subroutine is the same as spawnl(), differing only in the form of the argument. same vibe, different argument shape, iykyk π«
π₯ RETURNS π₯
Returns 0 when successful. Otherwise, returns a non-zero value which could be:
- an error code from
fork()orfexecl(). - the argument to
exit()in theCommand_name. 1, if stopped by a control C (^C).2, if killed by another process.4, if suspended by any fault, raise, control Y^Yor by another process. (In this case,spawnv()kills the suspended process.)
ngl that 4 case is doing the most π but itβs all right there, no cap.
π NOTES π
none π β yes, really, thatβs the entire note, bestie. iconic minimalism fr fr.
bye bestie π β Joerg Schilling Β· 2022/09/09 Β· SPAWNV(3) Β· SchilyΒ΄s LIBRARY FUNCTIONS π«Ά
π¦ 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