dbus glib win32
syntheticpp at gmx.net
Tue Dec 19 23:39:23 PST 2006
Havoc Pennington wrote:
> As I mentioned in the bug, at no point should any public API of dbus
> return the "dbus internal" fake file handle.
Yes, I know, and it's on my todo list, but currently _handle is not part
of the public API.
(Initially I thought all numbers which are related to a system object
could be called a handle, also on unix.)
> The public API may return *only* a defined Windows API object, such as:
> - a Windows HANDLE (function should probably be named get_handle())
> - a winsock socket (function should probably be named get_socket())
> A function called get_fd() on Windows maybe would return the weird
> Windows POSIX-compat fd (as with _open() etc.) but I think it's better
Is it really POSIX only or standard C lib?
> if it just does not work to call get_fd() on Windows, i.e. treat it as
> get_unix_fd(). Windows does not have file descriptors.
More information about the dbus