btopr man page on IRIX

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



btopr(D3)							     btopr(D3)

NAME
     btopr - convert size in bytes to size in pages (round up)

SYNOPSIS
     #include <sys/types.h>
     #include <sys/ddi.h>
     ulong_t btopr(ulong_t numbytes);

   Arguments
     numbytes  Size in bytes to convert to equivalent size in pages.

DESCRIPTION
     btopr returns the number of pages that are contained in the specified
     number of bytes, with upward rounding if the byte count is not a page
     multiple.

   Return Values
     The return value is the number of pages.  There are no invalid input
     values, and therefore no error return values.

USAGE
   Level
     Initialization, Base or Interrupt.

   Synchronization Constraints
     Does not sleep.

     Driver-defined basic locks, read/write locks, and sleep locks may be held
     across calls to this function.

   Examples
     If the page size is 2048, then btopr(4096) and btopr(4095) both return 2,
     and btopr(4097) returns 3.	 btopr(0) returns 0.

REFERENCES
     btop(D3), ptob(D3)

									Page 1

[top]

List of man pages available for IRIX

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