Subject: RE: New patch
From: [email-masked] (Parker, Ron)

22 Apr 1998 23:17:54 -0700
Message-ID: <c=US%a=_%p=Butler_Manufactu%l=BUILDINGS/BLDGSHUB/[email-masked]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BD6DC7.0FA5DE50"
To: Sergey Okhapkin <[email-masked]>,
        "'Gnu-Win32'"
	 <[email-masked]>
Cc: "[email-masked]'" <[email-masked]>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_000_01BD6DC7.0FA5DE50
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

It there a method to check for content on the queue, like PeekMessage? 
 Would it make sense to have one?

-----Original Message-----
From: Sergey Okhapkin [mailto:[email-masked]]
Sent: Wednesday, April 22, 1998 1:43 AM
To: 'Gnu-Win32'
Cc: [email-masked]'
Subject: New patch

windows.diff

- /dev/windows device implementation - an access to windows message 
queue with unix-style calls.

The following unix-style calls are supported:

	open ("/dev/windows", flags, mode=0)
		- create a unix fd for message queue.
		  O_NONBLOCK flag controls the read() call behavior.

	read (fd, buf, len)
		- return next message from queue. buf must point to MSG
		  structure, len must be >= sizeof (MSG). If read is set to
		  non-blocking and the queue is empty, read call returns -1
		  immediately with errno set to EAGAIN, otherwise it blocks
		  untill the message will be received.

	write (fd, buf, len)
		- send a message pointed by buf. len argument ignored.

	ioctl (fd, command, *param)
		- control read()/write() behavior.
		ioctl (fd, WINDOWS_POST, NULL) - write() will PostMessage();
		ioctl (fd, WINDOWS_SEND, NULL) - write() will SendMessage();
		ioctl (fd, WINDOWS_HWND, &hWnd)- read() messages for hWnd window.

	select() call marks read fd when any message posted to queue.

- Changes to compile cygwinb19.dll with egcs.
- Fixed a bug with mtime field of stat structure on fat partitions.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia.

------ =_NextPart_000_01BD6DC7.0FA5DE50
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

------ =_NextPart_000_01BD6DC7.0FA5DE50--
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".