out

来自「一个在linux+MiniGui的彩票销售终端程序,基于framebuffer的」· 代码 · 共 35 行

TXT
35
字号
send_modem(): return value* success to return 0, fail to return with: * -1:open port error, * -2:write port error, * -3:open file failure, * -4:initial modem error, * -5:error dial command, * -6:enter data mode fail, * -7:read file error, * -8:communicate timeout, * -9:set SIGALARM error, * 1: no dialtone, * 2: busy, * 3: no carrier, * 4: no answer, * 5: not read finish file, * 6: sendfile is null. * 7: modem is in voice status.recv_modem():return valuesuccess to return 0, fail to return with:* success to return 0, fail to return with: * -1:open port error, * -2:write port error, * -3:creat file failure, * -4:initial modem error, * -5:have no request dial, * -6:Can't connect remote modem, * -7:read port error, * -8:communicate timeout, * -9:write file error, * 2:interrupt receive process, * 3:set SIGALRM error.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?