How can I set the RTS with ioctl() in a Mac plugin?
问题 I am able to set the RTS with ioctl in a small Terminal app, but not in my Mac plugin code, although both run the same code. In the plugin I can only "get" the serial ports flags/pins, but not "set" them. In the Terminal app I can both "get and "set" them. I get an errno of ENODEV. The error number is 19 and the message is "Operation not supported by device." If this is a security issue (being in the context of a browser) is there a way to get permission to modify the flag with ioctl? I have