Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これについて言及している情報はあまり見つかりません。これらの標準 io 記述子は、Lua でデフォルトでバッファリングまたはバッファリング解除されるように設定されていますか? 必要に応じて、あるモードから別のモードに切り替えることはできますか?
たとえば、Python では、sys.stdin.detachバッファリングを解除するためのようなものを提供します。
sys.stdin.detach