src/lib/other/ttyname.c File Reference

#include <lib.h>
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>
#include <stddef.h>
#include <string.h>
#include <unistd.h>

Go to the source code of this file.

Functions

PUBLIC char * ttyname (int fildes)

Variables

PRIVATE char base [] = "/dev"
PRIVATE char path [sizeof(base)+1+NAME_MAX]


Function Documentation

PUBLIC char* ttyname ( int  fildes  ) 

Definition at line 18 of file ttyname.c.


Variable Documentation

PRIVATE char base[] = "/dev"

Definition at line 15 of file ttyname.c.

PRIVATE char path[sizeof(base)+1+NAME_MAX]

Definition at line 16 of file ttyname.c.


Generated on Tue Mar 9 04:36:59 2010 for Minix by  doxygen 1.5.8