MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / bytesize_to_termios

Function bytesize_to_termios

lib/termios.c:498–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496----------------------------------------------------------*/
497
498static int bytesize_to_termios(int ByteSize)
499{
500 ENTER("bytesize_to_termios");
501
502 switch (ByteSize)
503 {
504 case 5: return (CS5);
505
506 case 6: return (CS6);
507
508 case 7: return (CS7);
509
510 case 8:
511 default: return (CS8);
512 }
513}
514
515/*----------------------------------------------------------
516termios_to_bytesize()

Callers 1

tcgetattrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected