summaryrefslogtreecommitdiff
path: root/lib/mlibc/options/linux/include/pty.h
blob: 562fbb8dc27e1db93434b2ed521f0e96b6bdec0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#ifndef  _PTY_H
#define  _PTY_H

#include <termios.h>

#ifdef __cplusplus
extern "C" {
#endif

#ifndef __MLIBC_ABI_ONLY

int openpty(int *, int *, char *, const struct termios *, const struct winsize *);
int forkpty(int *, char *, const struct termios *, const struct winsize *);

#endif /* !__MLIBC_ABI_ONLY */

#ifdef __cplusplus
}
#endif

#endif // _PTY_H