size64 man page on IRIX

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



size64(D2)							    size64(D2)

NAME
     size64 - return size of logical block device

SYNOPSIS
     #include <sys/types.h>
     #include <sys/param.h>
     #include <sys/ddi.h>
     int prefixsize64(dev_t dev, daddr_t *blocks);

   Arguments
     dev       The logical device number.

     blocks    The size of the device in NBPSCTR-byte units (output argument).

DESCRIPTION
     The size64 entry point returns in blocks the number of NBPSCTR-byte units
     on a logical block device (partition), if successful.  If unsuccessful -1
     is returned in blocks.  NBPSCTR, defined in param.h, is the number of
     bytes per logical disk sector.

   Return Values
     On success, the size64 routine should return 0; on failure, the return
     value should be an error code.

USAGE
     This entry point is optional in all block device drivers, required only
     when it is possible to have a device whose size NBPSCTR-byte units will
     not fit into an int.

     size64(D2) is called only when the device is open.

   Synchronization Constraints
     The size64 routine has user context and can sleep.	 However, it should be
     careful not to spend much time sleeping, especially if the routine is
     called when the logical device is not open.

SEE ALSO
     size(D2)

									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