newlib/winsup/cygwin/include/pty.h
Eric Blake 1c0a4c3a8e Make pty.h match recent glibc.
* include/pty.h (openpty, forkpty): Mark last two arguments const,
to match glibc 2.8.
* libc/bsdlib.cc (openpty, forkpty): Likewise.
2009-12-26 06:20:56 +00:00

21 lines
368 B
C

#ifndef __PTY_H__
#define __PTY_H__
#include <_ansi.h>
#include <sys/termios.h>
#ifdef __cplusplus
extern "C" {
#endif
int _EXFUN(openpty ,(int *, int *, char *, const struct termios *,
const struct winsize *));
int _EXFUN(forkpty ,(int *, char *, const struct termios *,
const struct winsize *));
#ifdef __cplusplus
}
#endif
#endif /* __PTY_H__ */