File indexing completed on 2026-05-10 08:48:09
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #ifndef PMIX_UTIL_TTY_H
0022 #define PMIX_UTIL_TTY_H
0023
0024 #include "src/include/pmix_config.h"
0025 #include "pmix_common.h"
0026
0027 #ifdef HAVE_TERMIOS_H
0028 # include <termios.h>
0029 #else
0030 # ifdef HAVE_TERMIO_H
0031 # include <termio.h>
0032 # endif
0033 #endif
0034 #ifdef HAVE_SYS_IOCTL_H
0035 # include <sys/ioctl.h>
0036 #endif
0037
0038 BEGIN_C_DECLS
0039
0040 PMIX_EXPORT pmix_status_t pmix_gettermios(int fd, struct termios *terms);
0041
0042 PMIX_EXPORT pmix_status_t pmix_getwinsz(int fd, struct winsize *ws);
0043
0044 PMIX_EXPORT pmix_status_t pmix_settermios(int fd, struct termios *terms);
0045
0046 PMIX_EXPORT pmix_status_t pmix_setwinsz(int fd, struct winsize *ws);
0047
0048 PMIX_EXPORT pmix_status_t pmix_setraw(int fd, struct termios *prior);
0049
0050 END_C_DECLS
0051
0052 #endif