diff options
Diffstat (limited to 'test/termios')
-rw-r--r-- | test/termios/Makefile | 8 | ||||
-rw-r--r-- | test/termios/termios.c | 25 |
2 files changed, 0 insertions, 33 deletions
diff --git a/test/termios/Makefile b/test/termios/Makefile deleted file mode 100644 index 098cca6e0..000000000 --- a/test/termios/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# uClibc termios tests -# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - -top_builddir=../../ -top_srcdir=../../ -include ../Rules.mak --include Makefile.in -include ../Test.mak diff --git a/test/termios/termios.c b/test/termios/termios.c deleted file mode 100644 index 5fbc344c0..000000000 --- a/test/termios/termios.c +++ /dev/null @@ -1,25 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <termios.h> -#include <unistd.h> -#include <asm/ioctls.h> -#include <sys/ioctl.h> - -int main(int argc,char *argv[]) -{ - struct termios t; - int ret; - - printf("TCGETS = 0x%08x\n",TCGETS); - printf("sizeof(struct termios) = %ld\n",(long)sizeof(struct termios)); - - ret = ioctl(fileno(stdout),TCGETS,&t); - - if(ret<0){ - perror("ioctl"); - }else{ - printf("ioctl returned %d\n",ret); - } - - return 0; -} |