From 6e2b00096dcf2733b58e82cda3510ed638983a20 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 1 Jul 2011 15:25:10 +0200 Subject: 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 --- src/calcurse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/calcurse.h') 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; -- cgit v1.2.3-54-g00ecf