summaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorMax Ostapenko <m.ostapenko@partner.samsung.com>2014-09-26 10:58:04 +0300
committerMaxim Ostapenko <chefmax@gcc.gnu.org>2014-09-26 10:58:04 +0300
commit29ce50b031e023317550f4de34a8ba1fb7bf0609 (patch)
tree5c46c787d7fca012d4fa12266eaff51b8da2d7b6 /include/libiberty.h
parentecc81e33123d7ac9c11742161e128858d844b99d (diff)
pex-common.h (struct pex_funcs): Add new parameter for open_write field.
libiberty/ 2014-09-26 Max Ostapenko <m.ostapenko@partner.samsung.com> * pex-common.h (struct pex_funcs): Add new parameter for open_write field. * pex-unix.c (pex_unix_open_write): Add support for new parameter. * pex-djgpp.c (pex_djgpp_open_write): Likewise. * pex-win32.c (pex_win32_open_write): Likewise. * pex-common.c (pex_run_in_environment): Likewise. include/ 2014-09-26 Max Ostapenko <m.ostapenko@partner.samsung.com> * libiberty.h (PEX_STDOUT_APPEND): New flag. (PEX_STDERR_APPEND): Likewise. From-SVN: r215632
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index 56b8b43cb88..bcc1f9afaf7 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -445,6 +445,11 @@ extern struct pex_obj *pex_init (int flags, const char *pname,
on Unix. */
#define PEX_BINARY_ERROR 0x80
+/* Append stdout to existing file instead of truncating it. */
+#define PEX_STDOUT_APPEND 0x100
+
+/* Thes same as PEX_STDOUT_APPEND, but for STDERR. */
+#define PEX_STDERR_APPEND 0x200
/* Execute one program. Returns NULL on success. On error returns an
error string (typically just the name of a system call); the error