LDATTACH(8) - System Manager’s Manual # LDATTACH(8) - System Manager’s Manual
NAME # ldattach - attach a line discipline to a serial line
SYNOPSIS # ldattach [-27dehmop] [-s baudrate] [-t cond] discipline device
DESCRIPTION # ldattach is used to attach a line discipline to a serial line to allow for in-kernel processing of the received and/or sent data. Depending on the line discipline being attached, one or more options may be applied.
...
NMEA(4) - Device Drivers Manual # NMEA(4) - Device Drivers Manual
NAME # nmea - NMEA 0183 timedelta sensor
SYNOPSIS # pseudo-device nmea [count]
DESCRIPTION # This line discipline interfaces NMEA devices, such as GPS receivers attached to a serial or USB port.
The line discipline is enabled by the following sequence:
#include <sys/ioctl.h> int ldisc = NMEADISC, fildes; ... ioctl(fildes, TIOCSETD, &ldisc); The byte stream is unaltered by the line discipline which maintains timedelta and position sensors using the NMEA data.
...