aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/unix/ttyname.h
blob: ad945355373af35ecd2ac64238cdd6c30051297a (plain)
1
2
3
4
5
6
/* Common defines for ttyname.c and ttyname_r.c */
 
#include <dirent.h>	/* For MAXNAMLEN */
#include <paths.h>	/* For _PATH_DEV */

#define TTYNAME_BUFSIZE	(sizeof (_PATH_DEV) + MAXNAMLEN)