Wrapper Function - Library Functions and System Calls

Library Functions and System Calls

Many library functions, such those in the C Standard Library, act as interfaces for abstraction of system calls. The fork and execve functions in glibc are examples of this. They call the lower-level fork and execve system calls, respectively.

This may lead to incorrectly using the terms "system call" and "syscall" to refer to higher-level library calls rather than the similarly named system calls, which they wrap.

Read more about this topic:  Wrapper Function

Famous quotes containing the words library, functions, system and/or calls:

    I view askance a book that remains undisturbed for a year. Oughtn’t it to have a ticket of leave? I think I may safely say no book in my library remains unopened a year at a time, except my own works and Tennyson’s.
    Carolyn Wells (1862–1942)

    Mark the babe
    Not long accustomed to this breathing world;
    One that hath barely learned to shape a smile,
    Though yet irrational of soul, to grasp
    With tiny finger—to let fall a tear;
    And, as the heavy cloud of sleep dissolves,
    To stretch his limbs, bemocking, as might seem,
    The outward functions of intelligent man.
    William Wordsworth (1770–1850)

    For the universe has three children, born at one time, which reappear, under different names, in every system of thought, whether they be called cause, operation, and effect; or, more poetically, Jove, Pluto, Neptune; or, theologically, the Father, the Spirit, and the Son; but which we will call here, the Knower, the Doer, and the Sayer. These stand respectively for the love of truth, for the love of good, and for the love of beauty.
    Ralph Waldo Emerson (1803–1882)

    I shun father and mother and wife and brother when my genius calls me. I would write on the lintels of the door-post, Whim. I hope that it is somewhat better than whim at last, but we cannot spend the day in explanation.
    Ralph Waldo Emerson (1803–1882)