Restrictions implied on API functions

What are the restrictions implied on API functions?

E

Expert

Verified

The use of API function is to provide easy to use interface and have functions that reads the processes and memory.

a. API function can read the memory region and can be used by anyone without any restrictions.

b. The restrictions implied on the functions are as follows:

i. Windows API functions call different API that is known as Native API. This allows the easy interaction with the kernel, but at this time the CPU switches to the kernel mode.

ii. The special instruction for the system calls like sysenter and sysexit allow the CPU to switch to the ring 0, which in turn execute the handler provided by the operating system.

   Related Questions in Programming Languages

  • Q : Define the term Inheritance Inheritance

    Inheritance: It is a feature of object-oriented programming languages in which a sub-type inherits methods and variables from its super-type. The Inheritance is most generally employed as a synonym for class inheritance {class!inheritance}, however in

  • Q : Define Identifiers Define Identifiers

    Define Identifiers and their naming convention in brief?

  • Q : Create a BottomUpTwoThreeFourTree class

    You will need to create a BottomUpTwoThreeFourTree class, with a BottomUpTwoThreeTreeFourTree constructor which keeps no parameters. BottomUpTwoThreeTreeFourTree will require an insert(int x) method, which will insert the value 

  • Q : Explain Static variable Static variable

    Static variable: It is a static variable defined within a class body. Such a variable fits in to the class as a whole, and is, thus, shared by all objects of the class. The class variable may be employed to define the default value of an instance vari

  • Q : Installation of Symbian SIS file to

    I am not capable to install Symbian SIS file to Symbian OS v.9.x tool? What must I do?

  • Q : Define the term Method signature Define

    Define the term Method signature: This is the synonym for method header.

  • Q : What are Literals What are Literals and

    What are Literals and also state their respective types?

  • Q : Explain Assignment operator Assignment

    Assignment operator: The operator (=) employed to store the value of an expression into the variable, for example: Variable = expression; The right-hand

  • Q : Define the term Multiprogramming system

    Define the term Multiprogramming system: It is an operating system which is able to run multiple programs parallel.

  • Q : What is an IP address IP address : An

    IP address: An Internet Protocol (abbreviated as IP) address for a networked computer. Presently, IP addresses comprises of 4-byte values, written in dotted decimal notation, like 129.12.0.1. In future, IP addresses will be 16-bytes long to accommodat

©TutorsGlobe All rights reserved 2022-2023.