1 <h2>clock_alarm_reply
</h2>
4 <strong>Function
</strong> - Ring a preset alarm.
7 <strong>kern_return_t clock_alarm_reply
</strong>
8 <strong>(reply_port_t
</strong> <var>alarm_reply_port
</var>,
9 <strong>kern_return_t
</strong> <var>reply_code
</var>,
10 <strong>alarm_type_t
</strong> <var>alarm_type
</var>,
11 <strong>tvalspec_t
</strong> <var>wake_time
</var><strong>);
</strong>
16 <dt> <var>alarm_reply_port
</var>
18 [in alarm (receive) right]
19 The reply port named in the corresponding
20 <strong>clock_alarm
</strong> call.
22 <dt> <var>reply_code
</var>
25 The reply status code from the alarm. The possible values
29 <dt> <strong>KERN_SUCCESS
</strong>
31 The alarm was delivered without problem.
33 <dt> <strong>KERN_INVALID_VALUE
</strong>
35 The
<var>alarm_type
</var> and/or
<var>alarm_time
</var> values supplied to
36 <strong>clock_alarm
</strong> were invalid.
38 <dt> <strong>KERN_INVALID_LEDGER
</strong>
40 The
<var>ledger
</var> supplied to
<strong>clock_alarm
</strong> was not a ledger.
42 <dt> <strong>KERN_ABORTED
</strong>
44 The alarm was terminated via use of
<strong>clock_set_time
</strong>.
47 <dt> <var>alarm_type
</var>
50 The alarm type value supplied to the
<strong>clock_alarm
</strong> call.
51 Only the low order bits of this value are used by the kernel so the high
52 order bits are available for application use as an alarm identifier.
54 <dt> <var>wake_time
</var>
57 The time when the alarm message was sent.
61 A
<strong>clock_alarm_reply
</strong> function is called as the result
63 kernel indicating that a previously requested alarm time (
<strong>clock_alarm
</strong>)
65 <h3>RETURN VALUES
</h3>
67 Only generic errors apply.
68 <h3>RELATED INFORMATION
</h3>
71 <a href=
"host_get_clock_service.html"><strong>host_get_clock_service
</strong></a>,
72 <a href=
"clock_get_attributes.html"><strong>clock_get_attributes
</strong></a>,
73 <a href=
"clock_get_time.html"><strong>clock_get_time
</strong></a>,
74 <a href=
"clock_sleep.html"><strong>clock_sleep
</strong></a>,
75 <a href=
"clock_alarm.html"><strong>clock_alarm
</strong></a>,
76 <a href=
"clock_reply_server.html"><strong>clock_reply_server
</strong></a>,
77 <a href=
"clock_set_time.html"><strong>clock_set_time
</strong></a>.
80 <a href=
"tvalspec.html"><strong>tvalspec
</strong></a>.