From 4abab5ad6c8465a7528ccdd5f49367da05f78bbd Mon Sep 17 00:00:00 2001 From: Vladimir Azarov Date: Tue, 1 Oct 2024 15:47:05 +0200 Subject: Initial version --- include/pty.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/pty.h (limited to 'include/pty.h') diff --git a/include/pty.h b/include/pty.h new file mode 100644 index 0000000..db63853 --- /dev/null +++ b/include/pty.h @@ -0,0 +1,18 @@ +#ifndef _PTY_H +#define _PTY_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +int openpty(int *, int *, char *, const struct termios *, const struct winsize *); +int forkpty(int *, char *, const struct termios *, const struct winsize *); + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3