gtty X
1: gtty(fd, buf) 2: int fd; 3: int *buf; 4: { 5: if (syscall(32, fd, 0, buf, 0, 0) < 0) 6: return(-1); 7: return(0); 8: }