BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / commit / 11f4683b13d097219efe4887820b96d54ffee02c / include / termios.h

// Related

OrionLibC

Barry Using POSIX names for structs 11f4683 (2 years, 2 months ago)
diff --git a/include/termios.h b/include/termios.h
index 259695b..3f84cf8 100644
--- a/include/termios.h
+++ b/include/termios.h
@@ -17,11 +17,11 @@ enum TTYLineDiscipline {
 typedef unsigned int tcflag_t;
 
 /* Terminal I/O Settings */
-typedef struct Termios {
-	tcflag_t iflag;
-	tcflag_t oflag;
-	tcflag_t cflag;
-	tcflag_t lflag;
+typedef struct termios {
+	tcflag_t c_iflag;
+	tcflag_t c_oflag;
+	tcflag_t c_cflag;
+	tcflag_t c_lflag;
 } Termios;
 
 /* Terminal Window Size */