summaryrefslogtreecommitdiff
path: root/ace/Process.i
diff options
context:
space:
mode:
authorharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-08 16:26:58 +0000
committerharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-08 16:26:58 +0000
commit3bc5fa86ffa427b6c3092d6b3bc2e43a6eff56ec (patch)
tree4ca82d04cfd7a010766ca1649928b35e50e80305 /ace/Process.i
parent230db24aee45e086d91ded35b25c41ad94821805 (diff)
downloadATCD-3bc5fa86ffa427b6c3092d6b3bc2e43a6eff56ec.tar.gz
Compiles (not runs) on Solaris.
Diffstat (limited to 'ace/Process.i')
-rw-r--r--ace/Process.i37
1 files changed, 18 insertions, 19 deletions
diff --git a/ace/Process.i b/ace/Process.i
index bcd1f488d6f..6d0859c304f 100644
--- a/ace/Process.i
+++ b/ace/Process.i
@@ -48,14 +48,14 @@ ACE_Process::kill (int signum)
#if defined (ACE_WIN32)
-ACE_INLINE BOOL
+ACE_INLINE int
ACE_Process_Options::new_console (void) const
{
return new_console_;
}
ACE_INLINE void
-ACE_Process_Options::new_console (BOOL nc)
+ACE_Process_Options::new_console (int nc)
{
new_console_ = nc;
}
@@ -92,22 +92,35 @@ ACE_Process_Options::set_thread_attributes (void)
return thread_attributes_;
}
+
+ACE_INLINE int
+ACE_Process_Options::handle_inheritence (void)
+{
+ return handle_inheritence_;
+}
+
+ACE_INLINE void
+ACE_Process_Options::handle_inheritence (int hi)
+{
+ handle_inheritence_ = hi;
+}
+
#else /* !defined (ACE_WIN32) */
ACE_INLINE ACE_HANDLE
-ACE_Process_Options::std_in (void)
+ACE_Process_Options::get_stdin (void)
{
return stdin_;
}
ACE_INLINE ACE_HANDLE
-ACE_Process_Options::std_out (void)
+ACE_Process_Options::get_stdout (void)
{
return stdout_;
}
ACE_INLINE ACE_HANDLE
-ACE_Process_Options::std_err (void)
+ACE_Process_Options::get_stderr (void)
{
return stderr_;
}
@@ -146,17 +159,3 @@ ACE_Process_Options::path (LPCTSTR p)
{
ACE_OS::strcpy (path_, p);
}
-
-#if defined (ACE_WIN32)
-ACE_INLINE BOOL
-ACE_Process_Options::handle_inheritence (void)
-{
- return handle_inheritence_;
-}
-
-ACE_INLINE void
-ACE_Process_Options::handle_inheritence (BOOL hi)
-{
- handle_inheritence_ = hi;
-}
-#endif /* ACE_WIN32 */