Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/socket_tests/lib/pty_master_open.h')
-rw-r--r--winsup/cygwin/socket_tests/lib/pty_master_open.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/winsup/cygwin/socket_tests/lib/pty_master_open.h b/winsup/cygwin/socket_tests/lib/pty_master_open.h
new file mode 100644
index 000000000..5f5c7b991
--- /dev/null
+++ b/winsup/cygwin/socket_tests/lib/pty_master_open.h
@@ -0,0 +1,24 @@
+/*************************************************************************\
+* Copyright (C) Michael Kerrisk, 2018. *
+* *
+* This program is free software. You may use, modify, and redistribute it *
+* under the terms of the GNU Lesser General Public License as published *
+* by the Free Software Foundation, either version 3 or (at your option) *
+* any later version. This program is distributed without any warranty. *
+* See the files COPYING.lgpl-v3 and COPYING.gpl-v3 for details. *
+\*************************************************************************/
+
+/* Header file for Listing 64-1 */
+
+/* pty_open.h
+
+ Header file for pty_open.c (and pty_master_open_bsd.c).
+*/
+#ifndef PTY_MASTER_OPEN_H
+#define PTY_MASTER_OPEN_H
+
+#include <sys/types.h>
+
+int ptyMasterOpen(char *slaveName, size_t snLen);
+
+#endif