A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1932 
====================================================================== 
Reported By:                hpa
Assigned To:                
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1932
Category:                   Base Definitions and Headers
Type:                       Clarification Requested
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       H. Peter Anvin 
Organization:                
User Reference:              
Section:                    XBD 11.1.10, 11.2.4, termios.h 
Page Number:                N/A 
Line Number:                N/A 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2025-06-24 23:46 UTC
Last Modified:              2025-06-26 11:22 UTC
====================================================================== 
Summary:                    termios: should cfsetospeed(B0) trigger SIGHUP?
====================================================================== 

---------------------------------------------------------------------- 
 (0007210) geoffclare (manager) - 2025-06-26 11:22
 https://www.austingroupbugs.net/view.php?id=1932#c7210 
---------------------------------------------------------------------- 
The description of tcsetattr() includes:<blockquote>If the output baud rate
stored in the <b>termios</b> structure pointed to by <i>termios_p</i> is the
zero baud rate, B0, the modem control lines shall no longer be asserted.
Normally, this shall disconnect the line.</blockquote>

How this applies to a pseudo-terminal would depend on whether the implementation
emulates modem control lines or not.

The way this is handled in the UNIX conformance tests is that there is a config
parameter to say whether or not modem control is supported. Certifications can
be done using either hardware terminals or pseudo-terminals for the General
Terminal Interface tests, and as far as I'm aware, all certifications that used
pseudo-terminals have been done with that parameter set to "N". 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2025-06-24 23:46 hpa            New Issue                                    
2025-06-26 11:22 geoffclare     Note Added: 0007210                          
======================================================================


  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group

Reply via email to