tty_struct構造体の flipってどこへ? (where did "flip" in tty_structure go?)
Linuxデバイスドライバ 第3版の
TTYドライバサンプルをコンパイルすると
tty_struct構造体の flipってメンバはないよ、っておこられる。
TTYドライバ側からユーザ空間にデータをコピーするために使う
ピンポンバッファのようなのだけど。
Linuxカーネル 2.6.16.1 を使ってるのだけど、たしかに、無い><
2.6系のもっと前のバージョンにはあったのだろうか?
While compiling my tty-driver source file, I came across an error message, "error: structure has no member named `flip". I'm using "flip" member as "tty->flip", just like the source code below: https://www.codeblog.org/viewsrc/linux-2.6.14.2/drivers/char/tty_io.c Actually, I could not find "flip" in tty_structure, in linux/tty.h header file... The version of Linux kernel that I'm using is 2.6.16.1. (not newer, but enough to understand Linux device driver's mechanism, I think.) Was there any change in tty_struct implementation? (change in 2.6.1x or 2.6.x ??)
みたいな質問をすればよいのかなぁ。
でも、調べるぞ、と。
ときどき英語で書こうかなぁ、とも思う。
考えてみれば、はてダも世界に開かれてるのだ。
まともな英語を身につけるには
実際的なところでどんどん使っていくのがよいな。