Preview

Win32 Api and Posix Api Comparison Essay Example

Powerful Essays
Open Document
Open Document
990 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Win32 Api and Posix Api Comparison Essay Example
Javier, Jomel T.
IT222, 1-2 WS... SLU Baguio City Philippines

BSIT-2

Comparison between WIN32 API and POSIX API

Win32 API is Microsoft’s core set of application programming interfaces available in the Microsoft Windows operating systems while POSIX API, an acronym for “Portable Operating System Interface (for Unix)” is a core set of application programming interfaces, shell, and utilities interfaces for software compatible with variants on the Unix operating system. Each of which has its own style of implementation.

Win32 and POSIX API have processes that needed several resources to execute, and if resources are available, they can be granted and control can be returned to the user process. Otherwise, the process will have to wait until sufficient resources are available. This various resources controlled by the operating system can be thought of as devices, thus device management and control is needed to be implemented in both Win32 and POSIX API. It does more on sending request codes which are device specific to perform device-specific operations. In POSIX API, “ioctl” system call is used, supporting by most Unix and Unix-like systems, while in Win32 API, it is named as “DeviceIoControl”, which sends a control code directly of a specified device driver, causing the corresponding device to perform the corresponding operation. When it comes to Implementation, POSIX “ioctl” call takes as parameters an open file descriptor; a request code number; or either an integer value, possibly unsigned (going to the driver) or a pointer to data (either goint to the driver, coming back from the driver, or both). A Win32 DeviceIoControl takes as parameters an object handle (the Win32 equivalent of a file descriptor); a request code number (the “control code”); a buffer for input parameters; length of the input buffer; a buffer for output results, length of the output buffer; and an OVERLAPPED structure, if overlapped I/O is being used. The Win32 device

You May Also Find These Documents Helpful

  • Satisfactory Essays

    The main difference between the two is that OSI has broken down the TCP/IP’s application layer to Session, Presentation, and…

    • 648 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Garbage Collector in C#: Runtime has a Garbage Collector Which cleans the objects that are not in use.…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    There are many reasons why Windows operating system could be called an event-driven application. The first reason why Windows operating system might be viewed as an event-driven application is that the start button on the operating system can be activated through a click event. This means if a user uses their mouse to click on the start button, the start button will activate and the start buttons list will appear with other functions. Nearly everything on the Windows operating system is event-driven. Another example of this is the fact that you can drag and drop most things on the operating system, you can drag applications and files to the recycling bin to dispose of, or you can drag an application or file to any destination on your computer, such as the documents folder in your hard drive. One more example that the Windows operating system can be referred to as an event-driven application, is the keyboard. The keyboard is event-driven because when a user presses a key on the keyboard, it is registered as a Key Down command. The Key Down command is linked with data that is also linked with the pressing of the key.…

    • 342 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    In this report I will briefly explain about the features and functions of different operating systems. I have chosen to compare windows 7 Mac OS.…

    • 537 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    A CLI operating system has the user type commands into a terminal whereas a GUI operating system has the user click on files and folders to open/navigate. Most GUI operating systems have a command line program with an example being the command prompt on windows…

    • 1180 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    The monolithic model differs from other operating system architectures such the microkernel architecture in that it alone defines a high-level virtual interface over computer hardware. A set of primitives or system calls implement all operating system services such as process management, concurrency, and memory management. Device drivers can be added to the kernel as modules.…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Protection is the next requirement to be satisfied. Protection deals with security against unwanted interference by other processes. Programs from other process should not be able to access memory locations in a process for reading or writing Purposes without permission. The processor must be able to abort such instructions at the point of execution.…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    4. New system APIs expose the layers of the Windows Vista operating system for Anti-Virus software and Firewall manipulation. Applications that perform these functions will need appropriate modifications using they new system APIs.…

    • 329 Words
    • 2 Pages
    Good Essays
  • Good Essays

    It/282 Final

    • 4181 Words
    • 17 Pages

    DA-MAX Tips and Training Guide For DATAMAX’s Maximum Computer Support Department Table of Contents * Table of Contents………………………………………………......................................... 2 * Introduction…………………………………………………………………………………..... 3 * Overview of Operating System  Components and functions of operating systems………………………….........…

    • 4181 Words
    • 17 Pages
    Good Essays
  • Satisfactory Essays

    One uses a decimal place and also one is command prompt the other is gui interface.…

    • 435 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    A computers operating system (OS) is the core of the computer and is more than just software. The OS controls the computer’s memory and processes as well as its hardware and software. It is the brain of the computer. Software applications on the other hand perform a certain task. Ex. Google Chrome provides internet and Adobe allows PDF files to be read (among other things). The OS is what makes all of these applications work successfully and accomplish whatever the application is designed to accomplish.…

    • 816 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Patton, L. (2013, September 10). McDonald 's Testing Mobile Order App for U.S. stores. Bloomberg News. Retrieved from http://www.bloomberg.com/news/2013-09-10/mcdonald-s-testing-mobile-order-app-for-u-s-stores.html…

    • 1301 Words
    • 6 Pages
    Good Essays
  • Better Essays

    Las Hermanas

    • 1584 Words
    • 7 Pages

    The Roman Catholic Church is something my family and I are familiar with. In Los Angeles I went to a co-ed Catholic school called St. Eugene. When I first picked up the book I was excited to find out the back story of the organization of Las Hermanas. “In the forefront of liberation of the Mexican American community are beautiful and courageous women, women who know how to fight,” Canciόn de Las Hermanas. That quote summarizes the movement dealing with Latina women in the Catholic Church.…

    • 1584 Words
    • 7 Pages
    Better Essays
  • Good Essays

    Opioids In Nursing

    • 877 Words
    • 4 Pages

    As nurses we all know how to measure a patients vital signs and what they are used for.…

    • 877 Words
    • 4 Pages
    Good Essays
  • Good Essays

    The prison system is just as corrupt as the prisoners inside them. We live in a world where it is deemed acceptable to punish a criminal by taking away their humanity, and only release them when they find it themselves. It is apparent that the methods of handling prisoners and their sentences is costly and not effective. The recidivism rate in the United States prison and detention facilities are incredibly high, much higher than their Scandinavian counterpart. Recidivism “refers to a person's relapse into criminal behavior, often after the person receives sanctions or undergoes intervention for a previous crime.” (National Institute of Justice) According to the National Institute of Justice, “within three years of release, about two-thirds of released prisoners were rearrested; and within five years of release, about three-quarters of released prisoners were rearrested.” (National Institute of Justice) Unfortunately the statistics are only the tip of the iceberg in the severely flawed and failing prison. We must reform the flawed prison system, only than can we correct the criminal way of life.…

    • 294 Words
    • 2 Pages
    Good Essays