Query: btop
OS: linux
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
btop(9F) Kernel Functions for Drivers btop(9F)NAMEbtop - convert size in bytes to size in pages (round down)SYNOPSIS#include <sys/ddi.h> unsigned long btop(unsigned long numbytes);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSnumbytes Number of bytes.DESCRIPTIONbtop() returns the number of memory pages that are contained in the specified number of bytes, with downward rounding in the case that the byte count is not a page multiple. For example, if the page size is 2048, then btop(4096) returns 2, and btop(4097) returns 2 as well. btop(0) returns 0.RETURN VALUESThe return value is always the number of pages. There are no invalid input values, and therefore no error return values.CONTEXTbtop() can be called from user or interrupt context.SEE ALSObtopr(9F), ddi_btop(9F), ptob(9F) Writing Device Drivers SunOS 5.10 11 Apr 1991 btop(9F)
Related Man Pages |
---|
btop(9f) - opensolaris |
ptob(9f) - linux |
ddi_btop(9f) - linux |
ddi_btopr(9f) - linux |
ddi_ptob(9f) - linux |
Similar Topics in the Unix Linux Community |
---|
linux labtop |
WebtopProject 0.2.0-RC3 (Default branch) |
WebtopProject 0.5.0-beta (Default branch) |
WebtopProject 0.5.0-beta (Standalone branch) |
WebtopProject 0.5.0 (WebApp branch) |