2 .\" Manual page created with latex2man on Thu Aug 16 09:44:45 MDT 2007
3 .\" NOTE: This file is generated, DO NOT EDIT.
13 .TH "UNW\\_SET\\_FPREG" "3" "16 August 2007" "Programming Library " "Programming Library "
16 \-\- set contents of floating\-point register
21 #include <libunwind.h>
25 unw_set_fpreg(unw_cursor_t *cp,
36 routine sets the value of register
38 in the stack frame identified by cursor cp
40 value passed in val\&.
42 The register numbering is target\-dependent and described in separate
43 manual pages (e.g., libunwind\-ia64(3) for the IA\-64 target).
44 Furthermore, the exact set of accessible registers may depend on the
46 is referring to. For ordinary stack
47 frames, it is normally possible to access only the preserved
48 (``callee\-saved\&'') registers and frame\-related registers (such as the
49 stack\-pointer). However, for signal frames (see
50 unw_is_signal_frame(3)),
51 it is usually possible to access
54 Note that unw_set_fpreg()
55 can only write the contents of
56 floating\-point registers. See unw_set_reg(3)
58 write registers which fit in a single word.
63 On successful completion, unw_set_fpreg()
65 Otherwise the negative value of one of the error\-codes below is
68 .SH THREAD AND SIGNAL SAFETY
72 is thread\-safe as well as safe to use
73 from a signal handler.
80 An unspecified error occurred.
83 An attempt was made to write a register
84 that is either invalid or not accessible in the current frame.
87 An attempt was made to write to a
90 In addition, unw_set_fpreg()
91 may return any error returned by
97 unw_create_addr_space(3)).
106 unw_is_signal_frame(3),
112 David Mosberger\-Tang
114 Email: \fBdmosberger@gmail.com\fP
116 WWW: \fBhttp://www.nongnu.org/libunwind/\fP\&.
117 .\" NOTE: This file is generated, DO NOT EDIT.