#include <string.h>#include <sys/types.h>#include <ttyent.h>#include <unistd.h>#include <fcntl.h>Go to the source code of this file.
Defines | |
| #define | nil 0 |
| #define | open _open |
| #define | close _close |
| #define | fcntl _fcntl |
| #define | read _read |
| #define | arraysize(a) (sizeof(a) / sizeof((a)[0])) |
| #define | arraylimit(a) ((a) + arraysize(a)) |
Functions | |
| void | endttyent (void) |
| int | setttyent (void) |
| struct ttyent * | getttyent (void) |
| struct ttyent * | getttynam (const char *name) |
Definition at line 16 of file getttyent.c.
Definition at line 15 of file getttyent.c.
| #define close _close |
Definition at line 6 of file getttyent.c.
| #define fcntl _fcntl |
Definition at line 7 of file getttyent.c.
| #define nil 0 |
Definition at line 4 of file getttyent.c.
| #define open _open |
Definition at line 5 of file getttyent.c.
| #define read _read |
Definition at line 8 of file getttyent.c.
| void endttyent | ( | void | ) |
Definition at line 30 of file getttyent.c.
| struct ttyent* getttyent | ( | void | ) | [read] |
Definition at line 125 of file getttyent.c.
| struct ttyent* getttynam | ( | const char * | name | ) | [read] |
Definition at line 144 of file getttyent.c.
| int setttyent | ( | void | ) |
Definition at line 40 of file getttyent.c.
1.5.8