search for: port_config

Displaying 3 results from an estimated 3 matches for "port_config".

Did you mean: part_config
2011 Apr 13
1
Fwd: Re: Asterisk as a Condo door opener/intercom
...;termios.h> #include<fcntl.h> #include<errno.h> #include<stdlib.h> #include<unistd.h> #include<stdio.h> #include<signal.h> #include "lpswitch.h" /* Main program. */ int main(int argc, char **argv) { struct termios port_config; int fd; int set_bits = 2; /* Open monitor device. */ if ((fd = open(SWDEV, O_RDWR | O_NDELAY))< 0) { fprintf(stderr, "lpswtich: %s: %d\n", SWDEV, strerror(errno)); exit(1);} cfmakeraw(&port_config ); port_config.c_iflag=port_config.c_...
2005 Feb 20
0
Re: Asterisk-Users Digest, Vol 7, Issue 260
....h> #include <fcntl.h> #include <errno.h> #include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <signal.h> #include "lpswitch.h" /* Main program. */ int main(int argc, char **argv) { struct termios port_config; int fd; int set_bits = 6; /* Open monitor device. */ if ((fd = open(SWDEV, O_RDWR | O_NDELAY)) < 0) { fprintf(stderr, "lpswtich: %s: %s\n", SWDEV, sys_errlist[errno]); exit(1);} cfmakeraw( &port_config ); port_config.c_iflag=port_con...
2010 Aug 06
1
[PATCH]add usb-ver format check to avoid usb-list error and incorrect usb-ver saved into config file
...onfig = [''vusb''] + if not re.match(''^\d{1}$'', ver): + print "Invalid usb-ver format ''%s''" % ver vusb_config.append([''usb-ver'', str(ver)]) vusb_config.append([''num-ports'', str(num)]) port_config = [''port''] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel