libite 2.6.1
|
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
Go to the source code of this file.
Functions | |
int | systemf (const char *fmt,...) |
int systemf | ( | const char * | fmt, |
... ) |
Like system(), but takes a formatted string as argument.
fmt | printf style format list to command to run |
This system() wrapper greatly simplifies operations that usually consist of composing a command from parts into a dynamic buffer before calling it. The return value from system() is also parsed, checking for proper exit and signals.
EINTR
.