home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / std.h < prev    next >
Encoding:
Text File  |  1990-12-08  |  1.2 KB  |  37 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ident    "@(#)/usr/include/std.h.sl 1.1 4.0 12/08/90 51988 AT&T-USL"
  11.  
  12. /*    Copyright (c) 1987, 1988 Microsoft Corporation    */
  13. /*      All Rights Reserved    */
  14.  
  15. /*    This Module contains Proprietary Information of Microsoft  */
  16. /*    Corporation and should be treated as Confidential.       */
  17.  
  18. /*
  19.  *    @(#) std.h 1.1 88/03/30 inccmd:std.h
  20.  */
  21. #define    SYSBSIZE    BSIZE        /* system block size */
  22. #define    SYSBSHIFT    BSHIFT
  23.  
  24. #define    EFFBSIZE    SYSBSIZE    /* efficient block size */
  25. #define    EFFBSHIFT    SYSBSHIFT
  26.  
  27. #define    MULWSIZE    2        /* multiplier 'word' */
  28. #define    MULWSHIFT    1
  29. #define    MULLSIZE    4        /* multiplier 'long' */
  30. #define    MULLSHIFT    2
  31. #define    MULBSIZE    512        /* multiplier 'block' */
  32. #define    MULBSHIFT    9
  33. #define    MULKSIZE    1024        /* multiplier 'k' */
  34. #define    MULKSHIFT    10
  35.  
  36. #define    SYSTOMUL(sysblk)    ((sysblk) * (SYSBSIZE / MULBSIZE))
  37.