diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-01 15:25:10 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-02 10:15:36 +0200 |
commit | 6e2b00096dcf2733b58e82cda3510ed638983a20 (patch) | |
tree | 4ec3728aa1b8e63209a6d9a250be48ee8979af79 /src/calcurse.h | |
parent | 003431880edfb0c44ae7b7f8e37d5358fb7b5d8e (diff) | |
download | calcurse-6e2b00096dcf2733b58e82cda3510ed638983a20.zip |
Add fork_exec() function
Can be used to execute an external program. Provides the possibility to
optionally create a pipe to the new process.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 2c43369..cb9ea93 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -879,6 +879,7 @@ int parse_date (char *, enum datefmt, int *, int *, int *, void str_toupper (char *); void file_close (FILE *, const char *); void psleep (unsigned); +int fork_exec (int *, int *, const char *, char *const *); /* vars.c */ extern int col, row; |