Unix Programming - UNIX libraries in windows

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > May 2006 > UNIX libraries in windows





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author UNIX libraries in windows
anand.ba@gmail.com

2006-05-29, 5:32 pm

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. The
sys/ioctl.h and unistd.h libraries are very necessary though. Are
there any windows versions or acceptable conversion functions of these
libraries

Thank you

ed

2006-05-29, 5:32 pm

On 29 May 2006 12:09:28 -0700
anand.ba@gmail.com wrote:

> 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. The
> sys/ioctl.h and unistd.h libraries are very necessary though. Are
> there any windows versions or acceptable conversion functions of these
> libraries
>
> Thank you


You will have to look through your compilers API documentation for how
to interact with the processes. It's highly variable depending on the
compiler. Also if you notice the man pages (on my system) refer to the
Linux system. This is not portable, so you will have to find means in
other systems and code around it with def blocks.

--
Regards, Ed :: http://www.s5h.net
just another Java hacker
:%s/Open Source/Free Software/g :: Free DNS available

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com