site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jun 22, 2006, at 4:11 AM, ram perumal wrote: I am trying to reuse the code of IOSerialBSDClient for a serial device....I am trying to compile the open source available for the serial family, (extracted the IOSerialBSDClient part alone ) and am facing the following problems... 1. I am unable to locate the header for struct tty....#include<sys/tty.h> is not available in the kernel framework 2. The line discipline part of the code would not compile too...dont know which specific header to include... What version of the OS are you trying this with? -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... /usr/include/sys is fully populated for me on Tiger 8H*, which I believe is the most recent software update. My guess is that you failed to install the full set of SDKs, which is where the header files are packaged for distribution. For tty's, you'd be better off treating the structure as opaquely as possible, and letting the system handled the line discipline (see xnu/ bsd/kern/tty.c for tty canonical processing; you can get the sources from <http://OpenDarwin.org> if you need to inspect them; the implementation of pty's, which are a client of the tty canonical processing, are at xnu/bsd/kern/tty_pty.c at the same location). This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert