create_pipe.hpp
Go to the documentation of this file.
1 // Copyright (c) 2006, 2007 Julio M. Merino Vidal
2 // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
3 // Copyright (c) 2009 Boris Schaeling
4 // Copyright (c) 2010 Felipe Tanus, Boris Schaeling
5 // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 
10 /**
11  * \file boost/process/create_pipe.hpp
12  *
13  * Defines a function to create a pipe.
14  */
15 
16 #pragma once
17 
18 #include <boost/process/config.hpp>
19 
20 #include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(create_pipe)
21 BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(create_pipe)
22 
23 #if defined(BOOST_PROCESS_DOXYGEN)
24 namespace boost
25 {
26  namespace process
27  {
28 
29  /**
30  * Creates an anonymous pipe.
31  *
32  * \note On Windows anonymous pipes don't support
33  * asynchronous I/O.
34  *
35  * \throws boost::system::system_error in case of an error
36  */
37  pipe create_pipe();
38 
39  /**
40  * Creates an anonymous pipe.
41  *
42  * \note On Windows anonymous pipes don't support
43  * asynchronous I/O.
44  */
45  pipe create_pipe(boost::system::error_code& ec);
46 
47  }
48 }
49 #endif
50 
config.hpp
boost
Definition: ApplicationOptions.h:37
boost::process::windows::create_pipe
pipe create_pipe(boost::system::error_code &ec)
Definition: create_pipe.hpp:30