This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /dev/registry


Why can't this /dev/registry stuff be just an ioctl()?  Open the
/dev/registry node for the appropriate access, then use some ioctl()'s to
read and write it.  Put the /dev/null entry points for the read and write
handlers for /dev/registry and you won't have that accidental corruption
from cat.

By the way, if you're using Cygwin, why can't you just call RegQueryValueExW
and friends yourself?  You're a Win32 process anyway, and no UNIX has such a
thing - don't care about portability.

-- Barubary


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]