diff options
Diffstat (limited to 'pty.h')
-rw-r--r-- | pty.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ | |||
13 | * tty. | 13 | * tty. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* RCSID("$Id: pty.h,v 1.3 1999/11/25 00:54:59 damien Exp $"); */ | 16 | /* RCSID("$Id: pty.h,v 1.4 1999/12/07 04:38:32 damien Exp $"); */ |
17 | 17 | ||
18 | #ifndef PTY_H | 18 | #ifndef PTY_H |
19 | #define PTY_H | 19 | #define PTY_H |
@@ -24,7 +24,7 @@ | |||
24 | * descriptors for the pty and tty sides and the name of the tty side are | 24 | * descriptors for the pty and tty sides and the name of the tty side are |
25 | * returned (the buffer must be able to hold at least 64 characters). | 25 | * returned (the buffer must be able to hold at least 64 characters). |
26 | */ | 26 | */ |
27 | int pty_allocate(int *ptyfd, int *ttyfd, char *ttyname); | 27 | int pty_allocate(int *ptyfd, int *ttyfd, char *ttyname, int ttynamelen); |
28 | 28 | ||
29 | /* | 29 | /* |
30 | * Releases the tty. Its ownership is returned to root, and permissions to | 30 | * Releases the tty. Its ownership is returned to root, and permissions to |