Date: Wed, 11 Mar 1998 19:56:50 +0200 From: Ruslan Shevchenko <Ruslan@Shevchenko.kiev.ua> To: Zoltan Sebestyen <szoli@cs.elte.hu> Cc: FreeBSD hackers mailinglist <freebsd-hackers@FreeBSD.ORG> Subject: Re: A Question about FreeBSD and Linux(programming) Message-ID: <3506D05E.C57B53A@Shevchenko.kiev.ua> References: <Pine.LNX.3.95.980311173959.30833A-100000@neumann.cs.elte.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
Zoltan Sebestyen wrote: > Hi, > > I have to write an application on Linux that deals with the serial port. > I have installed a Redhat besides the FreeBSD(I didn't erase FBSD it'll > stay there until the end of the world), but finally gave up to use it. > Does anyone(for example Doug White ;-) know if the termio functions (like > tcgetattr tcsetattr tcflush tcdrain) behave on FBSD like on Linux? > standart port commands: #ifdef HAVE_TERMIOS #include ?termios.h> #define termio termios #define TCSETATTR TIOSETADDR #define TCGETADDR TIOGETADDR #define ... // +prefix TIO #else #include ?termio.h> #endif P.S: may be include in FreeBSD termio.h, with translation to termios. becouse, it is common problem in porting application from SYSV. I can wrote one, if it would be committed . > Thanks > > -------------------------------------------------------------------------------- > Sebestyen Zoltan It all seems so stupid, > it makes me want to give up. > szoli@digo.inf.elte.hu But why should I give up, > when it all seems so stupid? > > MAKE INSTALL NOT WAR And please avoid Necrosoft Widows > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- @= //RSSH mailto:Ruslan@Shevchenko.Kiev.UA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3506D05E.C57B53A>