📄 libmodem.man
字号:
.\".\" $Id: libmodem.man,v 1.7 1998/02/17 09:52:05 mdejonge Exp $.\".\" $Source: /home/mdejonge/CVS/projects/modem/libmodem/libmodem.man,v $.\" $Revision: 1.7 $.\" Author: Merijn de Jonge.\" Email: mdejonge@wins.uva.nl.\" .\" .\" .\" This file is part of the modem communication package..\" Copyright (C) 1996-1998 Merijn de Jonge.\" .\" This program is free software; you can redistribute it and/or modify.\" it under the terms of the GNU General Public License as published by.\" the Free Software Foundation; either version 2 of the License, or.\" (at your option) any later version..\" .\" This program is distributed in the hope that it will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\" .\" You should have received a copy of the GNU General Public License.\" along with this program; if not, write to the Free Software.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA..\" .\" .\".TH libmodem 3 "January 13, 1997".SH NAMElibmodem \- Routines for controlling modem..SH SYNOPSYS.nf.B #include <libmodem/libmodem.h>.sp.sp.BI "typedef int (*"modemReadFuncPtr " )(int, void*, size_t );.sp.BI "typedef int (*"modemWriteFuncPtr " ) (int, const void*, size_t );.sp.sp.BI "void mdm_set_commands( modem_commands* "commands " );.sp.BI "int mdm_dial(int "fd ", char* "number " );.sp.BI "int mdm_hangup( int "fd " );.sp.BI "int mdm_reset(int "fd " );.sp.BI "void setModemReadFunc( modemReadFuncPtr "readfunc " );.sp.BI "void setModemWriteFunc( modemWriteFuncPtr "writefunc " );.sp.BI "int modemRead( int "fd ", void* "data ", size_t "length " );.sp.BI "int modemWrite( int "fd ", void* "data ", size_t "length " );.sp.BI "int expect( int "fd " , const char* "str "[], int "firstMatch " );.fi.SH DESCRIPTIONThis library contains routines for communicating with a modem..SH AUTHORMerijn de Jonge (mdejonge@wins.uva.nl).\".\" EOF libmodem/libmodem.man.\"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -