@@ -702,6 +702,9 @@ static struct constant {
702
702
#ifdef IMAXBEL
703
703
{"IMAXBEL" , IMAXBEL },
704
704
#endif
705
+ #ifdef IUTF8
706
+ {"IUTF8" , IUTF8 },
707
+ #endif
705
708
706
709
/* struct termios.c_oflag constants */
707
710
{"OPOST" , OPOST },
@@ -726,6 +729,12 @@ static struct constant {
726
729
#ifdef OFDEL
727
730
{"OFDEL" , OFDEL },
728
731
#endif
732
+ #ifdef OXTABS
733
+ {"OXTABS" , OXTABS },
734
+ #endif
735
+ #ifdef ONOEOT
736
+ {"ONOEOT" , ONOEOT },
737
+ #endif
729
738
#ifdef NLDLY
730
739
{"NLDLY" , NLDLY },
731
740
#endif
@@ -752,6 +761,12 @@ static struct constant {
752
761
#ifdef NL1
753
762
{"NL1" , NL1 },
754
763
#endif
764
+ #ifdef NL2
765
+ {"NL2" , NL2 },
766
+ #endif
767
+ #ifdef NL3
768
+ {"NL3" , NL3 },
769
+ #endif
755
770
#ifdef CR0
756
771
{"CR0" , CR0 },
757
772
#endif
@@ -799,6 +814,9 @@ static struct constant {
799
814
#endif
800
815
801
816
/* struct termios.c_cflag constants */
817
+ #ifdef CIGNORE
818
+ {"CIGNORE" , CIGNORE },
819
+ #endif
802
820
{"CSIZE" , CSIZE },
803
821
{"CSTOPB" , CSTOPB },
804
822
{"CREAD" , CREAD },
@@ -813,13 +831,32 @@ static struct constant {
813
831
{"CRTSCTS" , (long )CRTSCTS },
814
832
#endif
815
833
834
+ #ifdef CRTS_IFLOW
835
+ {"CRTS_IFLOW" , CRTS_IFLOW },
836
+ #endif
837
+ #ifdef CDTR_IFLOW
838
+ {"CDTR_IFLOW" , CDTR_IFLOW },
839
+ #endif
840
+ #ifdef CDSR_OFLOW
841
+ {"CDSR_OFLOW" , CDSR_OFLOW },
842
+ #endif
843
+ #ifdef CCAR_OFLOW
844
+ {"CCAR_OFLOW" , CCAR_OFLOW },
845
+ #endif
846
+ #ifdef MDMBUF
847
+ {"MDMBUF" , MDMBUF },
848
+ #endif
849
+
816
850
/* struct termios.c_cflag-related values (character size) */
817
851
{"CS5" , CS5 },
818
852
{"CS6" , CS6 },
819
853
{"CS7" , CS7 },
820
854
{"CS8" , CS8 },
821
855
822
856
/* struct termios.c_lflag constants */
857
+ #ifdef ALTWERASE
858
+ {"ALTWERASE" , ALTWERASE },
859
+ #endif
823
860
{"ISIG" , ISIG },
824
861
{"ICANON" , ICANON },
825
862
#ifdef XCASE
@@ -840,13 +877,19 @@ static struct constant {
840
877
#endif
841
878
#ifdef FLUSHO
842
879
{"FLUSHO" , FLUSHO },
880
+ #endif
881
+ #ifdef NOKERNINFO
882
+ {"NOKERNINFO" , NOKERNINFO },
843
883
#endif
844
884
{"NOFLSH" , NOFLSH },
845
885
{"TOSTOP" , TOSTOP },
846
886
#ifdef PENDIN
847
887
{"PENDIN" , PENDIN },
848
888
#endif
849
889
{"IEXTEN" , IEXTEN },
890
+ #ifdef EXTPROC
891
+ {"EXTPROC" , EXTPROC },
892
+ #endif
850
893
851
894
/* indexes into the control chars array returned by tcgetattr() */
852
895
{"VINTR" , VINTR },
@@ -855,6 +898,9 @@ static struct constant {
855
898
{"VKILL" , VKILL },
856
899
{"VEOF" , VEOF },
857
900
{"VTIME" , VTIME },
901
+ #ifdef VSTATUS
902
+ {"VSTATUS" , VSTATUS },
903
+ #endif
858
904
{"VMIN" , VMIN },
859
905
#ifdef VSWTC
860
906
/* The #defines above ensure that if either is defined, both are,
@@ -865,6 +911,9 @@ static struct constant {
865
911
{"VSTART" , VSTART },
866
912
{"VSTOP" , VSTOP },
867
913
{"VSUSP" , VSUSP },
914
+ #ifdef VDSUSP
915
+ {"VDSUSP" , VREPRINT },
916
+ #endif
868
917
{"VEOL" , VEOL },
869
918
#ifdef VREPRINT
870
919
{"VREPRINT" , VREPRINT },
@@ -883,6 +932,18 @@ static struct constant {
883
932
#endif
884
933
885
934
935
+ #ifdef B7200
936
+ {"B7200" , B7200 },
937
+ #endif
938
+ #ifdef B14400
939
+ {"B14400" , B14400 },
940
+ #endif
941
+ #ifdef B28800
942
+ {"B28800" , B28800 },
943
+ #endif
944
+ #ifdef B76800
945
+ {"B76800" , B76800 },
946
+ #endif
886
947
#ifdef B460800
887
948
{"B460800" , B460800 },
888
949
#endif
0 commit comments