docs/ikteam: Delete most files.
[haiku.git] / headers / compatibility / bsd / pty.h
blob2ef64ff59339bef0f12d82bbc2102cc7b4ada180
1 /*
2 * Copyright 2008-2010 Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _BSD_PTY_H_
6 #define _BSD_PTY_H_
9 #ifdef _BSD_SOURCE
12 #include <sys/cdefs.h>
13 #include <termios.h>
16 __BEGIN_DECLS
18 extern int openpty(int* master, int* slave, char* name,
19 struct termios* termAttrs, struct winsize* windowSize);
20 extern int login_pty(int fd);
21 extern pid_t forkpty(int* master, char* name,
22 struct termios* termAttrs, struct winsize* windowSize);
24 __END_DECLS
27 #endif
30 #endif // _BSD_PTY_H_