Annotation of nono/host/comdriver_stdio.h, revision 1.1.1.3

1.1       root        1: //
                      2: // nono
                      3: // Copyright (C) 2021 nono project
                      4: // Licensed under nono-license.txt
                      5: //
                      6: 
                      7: //
                      8: // シリアルポートの標準入出力ドライバ
                      9: //
                     10: 
                     11: #pragma once
                     12: 
                     13: #include "comdriver.h"
                     14: #include <termios.h>
                     15: 
                     16: class COMDriverStdio : public COMDriver
                     17: {
                     18:        using inherited = COMDriver;
                     19:  public:
1.1.1.3 ! root       20:        explicit COMDriverStdio(HostDevice *hostdev_);
1.1       root       21:        ~COMDriverStdio() override;
                     22: 
                     23:        bool InitDriver() override;
                     24:        int Read() override;
                     25:        void Write(uint32 data) override;
                     26: 
                     27:  private:
                     28:        struct termios oldtc {};
                     29: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.