No, that won't work. ttycom.h does not define TIOCSRTS, it only defines TIOCSBRK and TIOCSDTR. There is a TIOCM_RTS, and that is used here:
handshake = TIOCM_DTR | TIOCM_RTS | TIOCM_CTS | TIOCM_DSR; // Set the modem lines depending on the bits set in handshake. if (ioctl(fileDescriptor, TIOCMSET, &handshake) == kMyErrReturn) { printf("Error setting handshake lines %s - %s(%d).\n", deviceFilePath, strerror(errno), errno); }