Commit: 40f6359e91f5495c713a183465d61672e786d87e
Parent: a0347f2340065abc8bc3711d11f5667877d985cb
Author: Anthony G. Basile <basile@opensource.dyc.edu>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-10-07 17:54:30
Tree: 0c3933ba1c83519269cc8c95ac6c2a41cef05a42

emulator/serial.c: use posix_openpt() instead of getpt() getpt(3) is glibc-specific and is not provided in musl and possibly other libc's. Instead, we use use posix_openpt(3) which is equivalent and portable.

Diffstat

M emulator/serial.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)

View Full Diff | Patch