yangfl
2021-03-20 23:57:08 +08:00
parent 4170a61d0b
commit a7e2224f05
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -138,7 +138,9 @@ static struct sigmap {
/* Nonstandard signals found in all modern POSIX systems
(including both BSD and Linux). */
{ SIGWINCH, "SIGWINCH" },
#ifdef SIGSTKFLT
{ SIGSTKFLT, "SIGSTKFLT" },
#endif
{ SIGPWR, "SIGPWR" },
/* Archaic names for compatibility. */
+2
View File
@@ -61,10 +61,12 @@ speed_t stty_parse_speed(char *baud)
{ 1152000, B1152000 },
{ 1500000, B1500000 },
{ 2000000, B2000000 },
#ifdef B4000000
{ 2500000, B2500000 },
{ 3000000, B3000000 },
{ 3500000, B3500000 },
{ 4000000, B4000000 },
#endif
};
if (!baud || !baud[0])