A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: mhj1661953107123
Ixiasoft
Visible to Intel only — GUID: mhj1661953107123
Ixiasoft
56.5.1.2. ioctl() Operations
Request | Description |
---|---|
TIOCEXCL | Locks the device for exclusive access. Further calls to open() for this device will fail until either this file descriptor is closed, or the lock is released using the TIOCNXCL ioctl request. For this request to succeed there can be no other existing file descriptors for this device. The parameter arg is ignored |
TIOCNXCL | Releases a previous exclusive access lock. The parameter arg is ignored. |
Additional operation requests are also optionally available for the fast driver only, as shown in Optional UART ioctl() Operations for the Fast Driver Only Table. To enable these operations in your program, you must set the preprocessor option—DINTEL_LW_UART_USE_IOCTL
Request | Description |
---|---|
TIOCMGET | Returns the current configuration of the device by filling in the contents of the input termios structure. A pointer to this structure is supplied as the value of the parameter opt. |
TIOCMSET | Sets the configuration of the device according to the values contained in the input termios structure. A pointer to this structure is supplied as the value of the parameter arg. |