05-29-06 10:32 PM
anand.ba@gmail.com wrote:
>
> Hi all
>
> I need to find equivalent windows libraries for the following unix
> ones.
>
> #include <sys/prctl.h>
> #include <sys/ioctl.h>
> #include <unistd.h>
>
> Basically I need to use the sproc() function in sys/prctl.h.
That exact functionality is very *VERY* unlikely to exist
on windows. They may or may not be something similar with
a completely different API.
> The sys/ioctl.h
Again ioctls are a unix concept and don't exist on windows.
> and unistd.h
Much of the stuff in <unistd.h> does exist on windows and
some of it works very very badly. For instance windows
does have 64 bit offset version of open/read/write/lseek
etc but they have seriously egregious bugs.
> libraries
These are not libraries they are header files defining
the workings of what is basically libc.
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
Everyone seems to assume that the current system in America is capitalism.
I beg to differ. True capitalism does not involve false advertising,
distribution cartels, or political lobbying for special advantages in the
market. How can you call Microsoft or the RIAA capitalist, when their main
business is interfering with a free market? Some of us would like to see a
*return* to capitalism in this country. - Jim Flynn on Linuxtoday.com
[ Post a follow-up to this message ]
|