DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C (http://www.daniweb.com/forums/forum118.html)
-   -   Windows API equivalent in Linux (http://www.daniweb.com/forums/thread131123.html)

Dionysus Jun 25th, 2008 1:09 pm
Windows API equivalent in Linux
 
IS there any Equivalent for Windows API in LInux???

Jishnu Jun 25th, 2008 2:25 pm
Re: Windows API equivalent in Linux
 
http://www.gtk.org/

ssharish2005 Jun 25th, 2008 2:29 pm
Re: Windows API equivalent in Linux
 
You could use Tcl/Tk as well.

ssharish

michinobu_zoned Jun 25th, 2008 3:01 pm
Re: Windows API equivalent in Linux
 
The UNIX equivalent to Win32 API is POSIX.

"With UNIX, there is almost a 1-to-1 relationship between the system calls (e.g., read) and the library procedures (e.g., read) used to invoke the system calls. In other words, for each system call, there is roughly one library procedure that is called to invoke it...Furthermore, POSIX has only about 100 procedure calls."
"With Windows, the situation is radically different. To start with, the library calls and the actual system calls are highly decoupled...The number of Win32 API calls is extremely large, numbering in the thousands. Furthermore, while many of them do invoke system calls, a substantial number of them are carried out in userspace."

"Modern Operating Systems" 2nd ed. by Andrew S. Tanenbaum. 2001, Prentice Hall, Inc. pp.54

Duoas Jun 25th, 2008 3:31 pm
Re: Windows API equivalent in Linux
 
If you are looking to port Win32 API code to Linux, take a look at Wine.


All times are GMT -4. The time now is 10:46 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC