cc -pthread -Wall -Wextra tiocsctty-o-noctty.c -o tiocsctty-o-noctty -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt relibc getrlimit(3, 0x7ffffffffc90): not implemented relibc getrusage(0, 0x7ffffffffb60): not implemented relibc getrlimit(7, 0x7ffffffff970): not implemented /usr/lib/gcc/x86_64-unknown-redox/13.2.0/../../../../x86_64-unknown-redox/bin/ld: ../out/redox/pty/tiocsctty-o-noctty.o: in function `main': tiocsctty-o-noctty.c:(.text+0x866): undefined reference to `tcgetsid' collect2: error: ld returned 1 exit status