#include "sys/ioctl.h" #include "errno.h" #include "stdarg.h" #include "stdio.h" #include "unistd.h" #include "string.h" #include "types.h" err e33_ioctl( Size fd, unsigned long req, void *arg ) { Size ret; do { ret = ioctl(fd, req, arg); } while (ret == -1 && (errno == EINTR || errno == EAGAIN)); return ret; } boolean strcomp( String s1, String s2 ) { while( (*s1 != '\0') && (*s2 != '\0') ) { if( (*s1++) != (*s2++) ) { return E33_FALSE; } } return E33_TRUE; }