tcgetattr(). This seems to be the only correct way to cope with platform-specific structure members...
Attach a file by drag & drop or click to upload