Return to sys_term.c CVS log | Up to [cvs.NetBSD.org] / src / libexec / telnetd |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.43, 2005/05/05 01:28:57 | version 1.44, 2007/01/17 21:44:50 | ||
---|---|---|---|
|
|
||
#include <util.h> | #include <util.h> | ||
#include <vis.h> | #include <vis.h> | ||
#include <sys/cdefs.h> | |||
#include <utmp.h> | #include <utmp.h> | ||
struct utmp wtmp; | struct utmp wtmp; | ||
|
|
||
int | int | ||
getpty(int *ptynum) | getpty(int *ptynum) | ||
{ | { | ||
int ptyfd; | int ptyfd; | ||
ptyfd = openpty(ptynum, &ptyslavefd, line, NULL, NULL); | ptyfd = openpty(ptynum, &ptyslavefd, line, NULL, NULL); |