Print this page
9842 man page typos and spelling


  17        set architecture.
  18 
  19 
  20        Values for AV_xxx_yyy for SPARC and SPARCV9, and their associated
  21        descriptions, can be found in <sys/auxv_SPARC.h>.
  22 
  23 
  24        Values for AV_xxx_yyy for i386 and AMD64, and their associated
  25        descriptions, can be found in <sys/auxv_386.h>.
  26 
  27 RETURN VALUES
  28        The getisax() function returns the number of array elements that
  29        contain non-zero values.
  30 
  31 EXAMPLES
  32        Example 1 Use getisax() to determine if the SSE2 instruction set is
  33        present.
  34 
  35 
  36        In the following example, if the message is written, the SSE2
  37        instruction set is present and fully supportred by the operating
  38        system.
  39 
  40 
  41          uint_t ui;
  42 
  43          (void) getisax(&ui, 1);
  44 
  45          if (ui & AV_386_SSE2)
  46                  printf("SSE2 instruction set extension is present.\n");
  47 
  48 
  49 ATTRIBUTES
  50        See attributes(5) for descriptions of the following attributes:
  51 
  52 
  53 
  54 
  55        +--------------------+-----------------+
  56        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
  57        +--------------------+-----------------+
  58        |Interface Stability | Committed       |


  17        set architecture.
  18 
  19 
  20        Values for AV_xxx_yyy for SPARC and SPARCV9, and their associated
  21        descriptions, can be found in <sys/auxv_SPARC.h>.
  22 
  23 
  24        Values for AV_xxx_yyy for i386 and AMD64, and their associated
  25        descriptions, can be found in <sys/auxv_386.h>.
  26 
  27 RETURN VALUES
  28        The getisax() function returns the number of array elements that
  29        contain non-zero values.
  30 
  31 EXAMPLES
  32        Example 1 Use getisax() to determine if the SSE2 instruction set is
  33        present.
  34 
  35 
  36        In the following example, if the message is written, the SSE2
  37        instruction set is present and fully supported by the operating system.

  38 
  39 
  40          uint_t ui;
  41 
  42          (void) getisax(&ui, 1);
  43 
  44          if (ui & AV_386_SSE2)
  45                  printf("SSE2 instruction set extension is present.\n");
  46 
  47 
  48 ATTRIBUTES
  49        See attributes(5) for descriptions of the following attributes:
  50 
  51 
  52 
  53 
  54        +--------------------+-----------------+
  55        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
  56        +--------------------+-----------------+
  57        |Interface Stability | Committed       |