Print this page
9842 man page typos and spelling
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man2/getisax.2.man.txt
+++ new/usr/src/man/man2/getisax.2.man.txt
1 1 GETISAX(2) System Calls GETISAX(2)
2 2
3 3
4 4
5 5 NAME
6 6 getisax - extract valid instruction set extensions
7 7
8 8 SYNOPSIS
9 9 #include <sys/auxv.h>
10 10
11 11 uint_t getisax(uint32_t *array, uint_t n);
12 12
13 13
14 14 DESCRIPTION
15 15 The getisax() function sets the vector array of n 32-bit integers to
16 16 contain the bits from the AV_xxx_yyy namespace of the given instruction
17 17 set architecture.
18 18
19 19
20 20 Values for AV_xxx_yyy for SPARC and SPARCV9, and their associated
21 21 descriptions, can be found in <sys/auxv_SPARC.h>.
22 22
23 23
24 24 Values for AV_xxx_yyy for i386 and AMD64, and their associated
25 25 descriptions, can be found in <sys/auxv_386.h>.
26 26
↓ open down ↓ |
26 lines elided |
↑ open up ↑ |
27 27 RETURN VALUES
28 28 The getisax() function returns the number of array elements that
29 29 contain non-zero values.
30 30
31 31 EXAMPLES
32 32 Example 1 Use getisax() to determine if the SSE2 instruction set is
33 33 present.
34 34
35 35
36 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.
37 + instruction set is present and fully supported by the operating system.
39 38
40 39
41 40 uint_t ui;
42 41
43 42 (void) getisax(&ui, 1);
44 43
45 44 if (ui & AV_386_SSE2)
46 45 printf("SSE2 instruction set extension is present.\n");
47 46
48 47
49 48 ATTRIBUTES
50 49 See attributes(5) for descriptions of the following attributes:
51 50
52 51
53 52
54 53
55 54 +--------------------+-----------------+
56 55 | ATTRIBUTE TYPE | ATTRIBUTE VALUE |
57 56 +--------------------+-----------------+
58 57 |Interface Stability | Committed |
59 58 +--------------------+-----------------+
60 59 |MT-Level | Safe |
61 60 +--------------------+-----------------+
62 61
63 62 SEE ALSO
64 63 isainfo(1), ld(1), pargs(1), attributes(5)
65 64
66 65
67 66 Linker and Libraries Guide
68 67
69 68
70 69 SPARC Assembly Language Reference Manual
71 70
72 71
73 72 x86 Assembly Language Reference Manual
74 73
75 74
76 75
77 76 November 7, 2007 GETISAX(2)
↓ open down ↓ |
29 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX