![]() |
|
|||
File indexing completed on 2025-02-23 10:12:56
0001 /* 0002 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 0003 * University Research and Technology 0004 * Corporation. All rights reserved. 0005 * Copyright (c) 2004-2005 The University of Tennessee and The University 0006 * of Tennessee Research Foundation. All rights 0007 * reserved. 0008 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 0009 * University of Stuttgart. All rights reserved. 0010 * Copyright (c) 2004-2005 The Regents of the University of California. 0011 * All rights reserved. 0012 * Copyright (c) 2008-2020 Cisco Systems, Inc. All rights reserved 0013 * Copyright (c) 2016-2019 Intel, Inc. All rights reserved. 0014 * Copyright (c) 2021 Nanook Consulting. All rights reserved. 0015 * $COPYRIGHT$ 0016 * 0017 * Additional copyrights may follow 0018 * 0019 * $HEADER$ 0020 * 0021 */ 0022 0023 #ifndef IOF_BASE_SETUP_H_ 0024 #define IOF_BASE_SETUP_H_ 0025 0026 #include "prte_config.h" 0027 #include "types.h" 0028 0029 #include "src/mca/iof/base/base.h" 0030 0031 struct prte_iof_base_io_conf_t { 0032 int usepty; 0033 bool connect_stdin; 0034 0035 /* private - callers should not modify these fields */ 0036 int p_stdin[2]; 0037 int p_stdout[2]; 0038 int p_stderr[2]; 0039 }; 0040 typedef struct prte_iof_base_io_conf_t prte_iof_base_io_conf_t; 0041 0042 /** 0043 * Do pre-fork IOF setup tasks 0044 * 0045 * Do all stdio forwarding that must be done before fork() is called. 0046 * This might include creating pipes or ptys or similar work. 0047 */ 0048 PRTE_EXPORT int prte_iof_base_setup_prefork(prte_iof_base_io_conf_t *opts); 0049 0050 PRTE_EXPORT int prte_iof_base_setup_child(prte_iof_base_io_conf_t *opts, char ***env); 0051 0052 PRTE_EXPORT int prte_iof_base_setup_parent(const pmix_proc_t *name, prte_iof_base_io_conf_t *opts); 0053 0054 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |