Penguin
Note: You are viewing an old revision of this page. View the current version.

Out of memory

Insufficient kernel memory was available for your request.

I found that ENOMEM is declared in /usr/include/sys/errno.h
but in mine linux distribution it is defined in /usr/include/asm/errno.h

You should never need to include anything from asm/ bits/ or linux/ directly. For example
errno.h includes bits/errno.h bits/errno.h includes linux/errno.h and defines ENOTSUP? as an alias for ENOTSUPPORTED?, and EDOM, EILSEQ and ERANGE, since these are only ever generated by libc, not by the kernel linux/errno.h includes asm/errno.h and defines ERESTARTSYS, ERESTARTNOINTR?, ERESTARTNOHAND?, ENOIOCTLCMD?, EBADHANDLE?, ENOTSYNC?, EBADCOOKIE?, ENOTSUPP?, ESERVERFAULT?, ETOOSMALL?, EBADTYPE?, EJUKEBOX (but only for the kernel, these are never defined in userspace) asm/errno.h has the #define's for all the usual errno's

so, you should #include <errno.h> to get all the errno's, or you'll miss some :)

The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors.
  • MarekShnur
The following authors of this page have agreed to the WlugWikiLicense.

lib/plugin/WlugLicense.php:99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php:111: Notice: Undefined variable: ignore_authors

lib/plugin/WlugLicense.php:111: Notice: Undefined variable: ignore_authors