8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libc / common / sys / __clock_timer.s
blob82e0d1e22e407ce67a02bbbd6af32545fd52d252
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 .file "__clock_timer.s"
29 #include "SYS.h"
32 * int
33 * __clock_getres(clockid_t clock_id, timespec_t *res)
36 ENTRY(__clock_getres)
37 SYSTRAP_RVAL1(clock_getres)
38 SYSCERROR
39 RET
40 SET_SIZE(__clock_getres)
43 * int
44 * __clock_settime(clockid_t clock_id, timespec_t *tp)
47 ENTRY(__clock_settime)
48 SYSTRAP_RVAL1(clock_settime)
49 SYSCERROR
50 RET
51 SET_SIZE(__clock_settime)
54 * int
55 * __timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
58 ENTRY(__timer_create)
59 SYSTRAP_RVAL1(timer_create)
60 SYSCERROR
61 RET
62 SET_SIZE(__timer_create)
65 * int
66 * __timer_delete(timer_t timerid)
69 ENTRY(__timer_delete)
70 SYSTRAP_RVAL1(timer_delete)
71 SYSCERROR
72 RET
73 SET_SIZE(__timer_delete)
76 * int
77 * __timer_getoverrun(timer_t timerid)
80 ENTRY(__timer_getoverrun)
81 SYSTRAP_RVAL1(timer_getoverrun)
82 SYSCERROR
83 RET
84 SET_SIZE(__timer_getoverrun)
87 * int
88 * __timer_gettime(timer_t timerid, struct itimerspec *value)
91 ENTRY(__timer_gettime)
92 SYSTRAP_RVAL1(timer_gettime)
93 SYSCERROR
94 RET
95 SET_SIZE(__timer_gettime)
98 * int
99 * __timer_settime(timer_t timerid, int flags,
100 * const struct itimerspec *value, struct itimerspec *ovalue)
103 ENTRY(__timer_settime)
104 SYSTRAP_RVAL1(timer_settime)
105 SYSCERROR
107 SET_SIZE(__timer_settime)
110 * int
111 * __nanosleep(const timespec_t *rqtp, timespec_t *rmtp)
114 ENTRY(__nanosleep)
115 SYSTRAP_RVAL1(nanosleep)
116 SYSLWPERR
118 SET_SIZE(__nanosleep)