diff options
Diffstat (limited to 'newlib/libc/unix/ttyname.h')
-rw-r--r-- | newlib/libc/unix/ttyname.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/unix/ttyname.h b/newlib/libc/unix/ttyname.h new file mode 100644 index 000000000..ad9453553 --- /dev/null +++ b/newlib/libc/unix/ttyname.h @@ -0,0 +1,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) |