add directory bin

This commit is contained in:
gohigh
2024-02-19 00:21:52 -05:00
parent 1b1e027f34
commit 42f484790f
611 changed files with 242668 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/*
getttyent, getttynam, setttyent, endttyent for linux
by qpliu@phoenix.princeton.edu 1992
$Id$
*/
#include <stdio.h>
#include <string.h>
#include <ttyent.h>
struct ttyent *
getttynam (const char *nam)
{
struct ttyent *ent;
setttyent ();
while (ent = getttyent ())
if (!strcmp(ent->ty_name, nam)) break;
return ent;
}