| | |
Windows API equivalent in Linux
![]() |
"You know you're a computer geek when you try to shoo a fly away from the monitor screen with your cursor. That just happened to me. It was scary." - Juuso Heimonen.
"The only truly secure computer is one buried in concrete, with the power turned off and the network cable cut." - Anonymous.
"The only truly secure computer is one buried in concrete, with the power turned off and the network cable cut." - Anonymous.
•
•
Join Date: May 2008
Posts: 43
Reputation:
Solved Threads: 0
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
"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
![]() |
Similar Threads
- Sr. Software Engineer - C/C++ (Software Development Job Offers)
Other Threads in the C Forum
- Previous Thread: exec() POSIX calls
- Next Thread: socket connection
| Thread Tools | Search this Thread |
* adobe ansi api array asterisks binarysearch calculate centimeter char character cm convert copyanyfile copyimagefile copypdffile cprogramme createcopyoffile createprocess() csyntax directory feet fflush fgets file floatingpointvalidation fork frequency function getlasterror getlogicaldrivestrin givemetehcodez global graphics gtkgcurlcompiling gtkwinlinux hacking highest homework i/o inches infiniteloop interest intmain() kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives match meter microsoft mqqueue mysql number oddnumber odf open opendocumentformat openwebfoundation owf pattern pdf performance posix power probleminc program programming pyramidusingturboccodes read recv recvblocked repetition scanf scheduling segmentationfault send single socketprograming socketprogramming stack standard strchr string suggestions systemcall unix urboc user variable voidmain() wab whythiscodecausesegmentationfault win32api windows.h






