Sbrk - Error Codes

Error Codes

The error ENOMEM is set and the allocated space remains unchanged if one or more of the following are true:

  • The requested change allocates more space than is allowed by a system-imposed maximum.
  • The requested change sets the break value to a value greater than or equal to the start address of any attached shared memory segment.

Read more about this topic:  Sbrk

Famous quotes containing the words error and/or codes:

    It is not to everyone’s taste that truth should be pronounced pleasant. But at least let no one believe that error becomes truth when it is pronounced unpleasant.
    Friedrich Nietzsche (1844–1900)

    Thou hast a voice, great Mountain, to repeal
    Large codes of fraud and woe; not understood
    By all, but which the wise, and great, and good
    Interpret, or make felt, or deeply feel.
    Percy Bysshe Shelley (1792–1822)