Skip to content
Snippets Groups Projects
  • Timo Teräs's avatar
    dc9087f2
    Implement internal abstraction for iostreams · dc9087f2
    Timo Teräs authored
    fopencookie/funclose is a non-standard API and should not be used
    in portable software. Additionally, the way FILE's fd is used in
    non-blocking mode is undefined behaviour and cannot be relied on.
    
    This introduces internal abstraction for io streams, that allows
    implementing the desired virtualization of read/write operations
    with necessary timeout handling.
    
    ASTERISK-24515 #close
    ASTERISK-24517 #close
    
    Change-Id: Id916aef418b665ced6a7489aef74908b6e376e85
    dc9087f2
    History
    Implement internal abstraction for iostreams
    Timo Teräs authored
    fopencookie/funclose is a non-standard API and should not be used
    in portable software. Additionally, the way FILE's fd is used in
    non-blocking mode is undefined behaviour and cannot be relied on.
    
    This introduces internal abstraction for io streams, that allows
    implementing the desired virtualization of read/write operations
    with necessary timeout handling.
    
    ASTERISK-24515 #close
    ASTERISK-24517 #close
    
    Change-Id: Id916aef418b665ced6a7489aef74908b6e376e85