ksize man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

KSIZE(9)		  Memory Management in Linux		      KSIZE(9)

NAME
       ksize - get the actual amount of memory allocated for a given object

SYNOPSIS
       size_t ksize(const void * objp);

ARGUMENTS
       objp
	   Pointer to the object

DESCRIPTION
       kmalloc may internally round up allocations and return more memory than
       requested.  ksize can be used to determine the actual amount of memory
       allocated. The caller may use this additional memory, even though a
       smaller amount of memory was initially specified with the kmalloc call.
       The caller must guarantee that objp points to a valid object previously
       allocated with either kmalloc or kmem_cache_alloc. The object must not
       be freed during the duration of the call.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013			      KSIZE(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net