1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
|
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
function aio_cancel
include <aio.h>
declaration int aio_cancel(int fildes, struct aiocb *aiocbp)
version SUNW_0.7
errno EBADF ENOSYS
end
function aio_fsync
include <aio.h>
declaration int aio_fsync(int op, aiocb_t *aiocbp)
version SUNW_0.7
errno EAGAIN EBADF EINVAL ENOSYS
end
function aio_read
include <aio.h>
declaration int aio_read(struct aiocb *aiocbp)
version SUNW_0.7
errno EAGAIN ENOSYS EBADF EINVAL ECANCELED EFBIG
end
function aio_write
include <aio.h>
declaration int aio_write(struct aiocb *aiocbp)
version SUNW_0.7
errno EAGAIN ENOSYS EBADF EINVAL ECANCELED EFBIG
end
function aio_return
include <aio.h>
declaration ssize_t aio_return(struct aiocb * aiocbp)
version SUNW_0.7
errno EINVAL ENOSYS
end
function aio_error
include <aio.h>
declaration int aio_error(const struct aiocb *aiocbp)
version SUNW_0.7
errno EINVAL ENOSYS
end
function aio_suspend
include <aio.h>
declaration int aio_suspend(const struct aiocb *const list[], int nent, \
const struct timespec *timeout)
version SUNW_0.7
errno EAGAIN EINTR ENOSYS
end
function posix_fallocate
include <fcntl.h>
declaration int posix_fallocate(int fd, off_t offset, off_t len)
version SUNW_1.5
errno EBADF EFBIG EINTR EINVAL EIO ENODEV ENOSPC ESPIPE
end
function fdatasync
include <unistd.h>
declaration int fdatasync(int fildes)
version SUNW_0.7
errno EBADF EINVAL ENOSYS
end
function lio_listio
include <aio.h>
declaration int lio_listio(int mode, struct aiocb *const list[], int nent, \
struct sigevent *sig)
version SUNW_0.7
errno EAGAIN EINVAL EINTR EIO ENOSYS ECANCELED \
EINPROGRESS EOVERFLOW EFBIG
end
function aio_waitn
include <aio.h>
declaration int aio_waitn(struct aiocb *list[], uint_t nent, \
uint_t *nwait, const struct timespec *timeout)
version SUNW_1.3
errno EAGAIN EINTR ETIME ENOMEM EFAULT EINVAL
end
function aio_cancel64 extends librt/spec/rt.spec aio_cancel
declaration int aio_cancel64(int fildes, struct aiocb64 *aiocbp)
arch i386 sparc
version SUNW_1.1
end
function aio_error64 extends librt/spec/rt.spec aio_error
declaration int aio_error64(const struct aiocb64 *aiocbp)
arch i386 sparc
version SUNW_1.1
end
function aio_fsync64 extends librt/spec/rt.spec aio_fsync
declaration int aio_fsync64(int op, struct aiocb64 *aiocbp)
arch i386 sparc
version SUNW_1.1
end
function aio_read64 extends librt/spec/rt.spec aio_read
declaration int aio_read64(struct aiocb64 *aiocbp)
arch i386 sparc
version SUNW_1.1
end
function aio_return64 extends librt/spec/rt.spec aio_return
declaration ssize_t aio_return64(struct aiocb64 * aiocbp)
arch i386 sparc
version SUNW_1.1
end
function aio_suspend64 extends librt/spec/rt.spec aio_suspend
declaration int aio_suspend64(const struct aiocb64 *const list[], \
int nent, const struct timespec *timeout)
arch i386 sparc
version SUNW_1.1
end
function aio_write64 extends librt/spec/rt.spec aio_write
declaration int aio_write64(struct aiocb64 *aiocbp)
arch i386 sparc
version SUNW_1.1
end
function lio_listio64 extends librt/spec/rt.spec lio_listio
declaration int lio_listio64(int mode, struct aiocb64 *const list[], \
int nent, struct sigevent *sig)
arch i386 sparc
version SUNW_1.1
end
function aio_waitn64 extends librt/spec/rt.spec aio_waitn
declaration int aio_waitn64(struct aiocb64 *list[], uint_t nent, \
uint_t *nwait, const struct timespec *timeout)
arch i386 sparc
version SUNW_1.3
end
function posix_fallocate64 extends librt/spec/rt.spec posix_fallocate
declaration int posix_fallocate(int fd, off64_t offset, off64_t len)
arch i386 sparc
version SUNW_1.5
end
function mq_close
include <mqueue.h>
declaration int mq_close(mqd_t mqdes)
version SUNW_0.7
errno EBADF ENOSYS
exception $return == -1
end
function mq_notify
include <mqueue.h>
declaration int mq_notify(mqd_t mqdes, const struct sigevent *notification)
version SUNW_0.7
errno EBADF EBUSY ENOSYS
exception $return == -1
end
function mq_open
include <mqueue.h>
declaration mqd_t mq_open(const char *name, int oflag, ...)
version SUNW_0.7
errno EACCESS EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \
ENOENT ENOSPC ENOSYS
exception $return == (mqd_t)(-1)
end
function mq_receive
include <mqueue.h>
declaration ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \
size_t msg_len, unsigned int *msg_prio)
version SUNW_0.7
errno EAGAIN EBADF EMSGSIZE EINTR
exception $return == (ssize_t)(-1)
end
function mq_timedreceive
include <mqueue.h>, <time.h>
declaration ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, \
size_t msg_len, unsigned int *msg_prio, \
const struct timespec *abs_timeout)
version SUNW_1.4
errno EAGAIN EBADF EMSGSIZE EINTR ETIMEDOUT
exception $return == (ssize_t)(-1)
end
function mq_reltimedreceive_np
include <mqueue.h>, <time.h>
declaration ssize_t mq_reltimedreceive_np(mqd_t mqdes, char *msg_ptr, \
size_t msg_len, unsigned int *msg_prio, \
const struct timespec *rel_timeout)
version SUNW_1.4
errno EAGAIN EBADF EMSGSIZE EINTR ETIMEDOUT
exception $return == (ssize_t)(-1)
end
function mq_send
include <mqueue.h>
declaration int mq_send(mqd_t mqdes, const char *msg_ptr, \
size_t msg_len, unsigned int msg_prio)
version SUNW_0.7
errno EAGAIN EBADF EINTR EMSGSIZE
exception $return == -1
end
function mq_timedsend
include <mqueue.h>, <time.h>
declaration int mq_timedsend(mqd_t mqdes, const char *msg_ptr, \
size_t msg_len, unsigned int msg_prio, \
const struct timespec *abs_timeout)
version SUNW_1.4
errno EAGAIN EBADF EINTR EMSGSIZE ETIMEDOUT
exception $return == -1
end
function mq_reltimedsend_np
include <mqueue.h>, <time.h>
declaration int mq_reltimedsend_np(mqd_t mqdes, const char *msg_ptr, \
size_t msg_len, unsigned int msg_prio, \
const struct timespec *rel_timeout)
version SUNW_1.4
errno EAGAIN EBADF EINTR EMSGSIZE ETIMEDOUT
exception $return == -1
end
function mq_setattr
include <mqueue.h>
declaration int mq_setattr(mqd_t mqdes, \
const struct mq_attr *_RESTRICT_KYWD mqstat, \
struct mq_attr *_RESTRICT_KYWD omqstat)
version SUNW_0.7
errno EBADF ENOSYS
exception $return == -1
end
function mq_getattr
include <mqueue.h>
declaration int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat)
version SUNW_0.7
errno EBADF ENOSYS
exception $return == -1
end
function mq_unlink
include <mqueue.h>
declaration int mq_unlink(const char *name)
version SUNW_0.7
errno EACCESS ENAMETOOLONG ENOENT ENOSYS
exception $return == -1
end
function nanosleep
include <time.h>
declaration int nanosleep(const struct timespec *rqtp, \
struct timespec *rmtp)
version SUNW_0.7
errno EINTR EINVAL
end
function clock_nanosleep
include <time.h>
declaration int clock_nanosleep(clockid_t clock_id, int flags, \
const struct timespec *rqtp, struct timespec *rmtp)
version SUNW_1.4
errno EINTR EINVAL
end
function sched_get_priority_max
include <sched.h>
declaration int sched_get_priority_max(int policy)
version SUNW_0.7
errno EINVAL ENOSYS ESRCH
end
function sched_get_priority_min
include <sched.h>
declaration int sched_get_priority_min(int policy)
version SUNW_0.7
errno EINVAL ENOSYS ESRCH
end
function sched_rr_get_interval
include <sched.h>
declaration int sched_rr_get_interval(pid_t pid, struct timespec *interval)
version SUNW_0.7
errno EINVAL ENOSYS ESRCH
end
function sched_setparam
include <sched.h>
declaration int sched_setparam(pid_t pid, const struct sched_param *param)
version SUNW_0.7
errno EINVAL ENOSYS EPERM ESRCH
end
function sched_getparam
include <sched.h>
declaration int sched_getparam(pid_t pid, struct sched_param *param)
version SUNW_0.7
errno EINVAL ENOSYS EPERM ESRCH
end
function sched_setscheduler
include <sched.h>
declaration int sched_setscheduler(pid_t pid, int policy, \
const struct sched_param *param)
version SUNW_0.7
errno EINVAL ENOSYS EPERM ESRCH
end
function sched_getscheduler
include <sched.h>
declaration int sched_getscheduler(pid_t pid)
version SUNW_0.7
errno EINVAL ENOSYS EPERM ESRCH
end
function sched_yield
include <sched.h>
declaration int sched_yield(void)
version SUNW_0.7
errno ENOSYS
end
function sem_close
include <semaphore.h>
declaration int sem_close(sem_t *sem)
version SUNW_0.7
errno EINVAL ENOSYS
end
function sem_destroy
include <semaphore.h>
declaration int sem_destroy(sem_t *sem)
version SUNW_0.7
errno EINVAL ENOSYS EBUSY
end
function sem_getvalue
include <semaphore.h>
declaration int sem_getvalue(sem_t *sem, int *sval)
version SUNW_0.7
errno EINVAL ENOSYS
end
function sem_init
include <semaphore.h>, <unistd.h>
declaration int sem_init(sem_t *sem, int pshared, unsigned int value)
version SUNW_0.7
errno EINVAL ENOSPC ENOSYS EPERM
end
function sem_open
include <semaphore.h>, <unistd.h>, <sys/stat.h>
declaration sem_t *sem_open(const char *name, int oflag, ...)
version SUNW_0.7
errno EACCES EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \
ENOENT ENOSPC ENOSYS
end
function sem_post
include <semaphore.h>
declaration int sem_post(sem_t *sem)
version SUNW_0.7
errno EINVAL ENOSYS
end
function sem_unlink
include <semaphore.h>
declaration int sem_unlink(const char *name)
version SUNW_0.7
errno EACCES ENAMETOOLONG ENOENT ENOSYS
end
function sem_wait
include <semaphore.h>
declaration int sem_wait(sem_t *sem)
version SUNW_0.7
errno EAGAIN EINVAL EINTR ENOSYS EDEADLK
end
function sem_timedwait
include <semaphore.h> <time.h>
declaration int sem_timedwait(sem_t *sem, const timespec_t *abstime)
version SUNW_1.4
errno EAGAIN EINVAL EINTR ETIMEDOUT EDEADLK
end
function sem_reltimedwait_np
include <semaphore.h> <time.h>
declaration int sem_reltimedwait_np(sem_t *sem, const timespec_t *reltime)
version SUNW_1.4
errno EAGAIN EINVAL EINTR ETIMEDOUT EDEADLK
end
function sem_trywait
include <semaphore.h>
declaration int sem_trywait(sem_t *sem)
version SUNW_0.7
errno EAGAIN EINVAL EINTR ENOSYS EDEADLK
end
function shm_open
include <sys/mman.h>, <sys/types.h>, <sys/stat.h>, <fcntl.h>
declaration int shm_open(const char *name, int oflag, mode_t mode)
version SUNW_0.7
errno EACCES EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \
ENOENT ENOSPC ENOSYS
end
function shm_unlink
declaration int shm_unlink(const char *name)
version SUNW_0.7
errno EACCES ENAMETOOLONG ENOENT ENOSYS
end
function sigqueue
include <signal.h>
declaration int sigqueue(pid_t pid, int signo, const union sigval value)
version SUNW_0.7
errno EAGAIN EINVAL ENOSYS EPERM ESRCH
end
function sigwaitinfo
include <signal.h>
declaration int sigwaitinfo(const sigset_t *_RESTRICT_KYWD set, \
siginfo_t *_RESTRICT_KYWD info)
version SUNW_0.7
errno EINTR ENOSYS EAGAIN EINVAL
end
function sigtimedwait
include <signal.h>
declaration int sigtimedwait(const sigset_t *_RESTRICT_KYWD set, \
siginfo_t *_RESTRICT_KYWD info, \
const struct timespec *_RESTRICT_KYWD timeout)
version SUNW_0.7
errno EINTR ENOSYS EAGAIN EINVAL
end
function timer_create
include <signal.h>, <time.h>
declaration int timer_create(clockid_t clock_id, struct sigevent *evp, \
timer_t *timerid)
version SUNW_0.7
errno EAGAIN EINVAL ENOSYS
end
function timer_delete
include <time.h>
declaration int timer_delete(timer_t timerid)
version SUNW_0.7
errno EINVAL ENOSYS
end
function timer_settime
include <time.h>
declaration int timer_settime(timer_t timerid, int flags, \
const struct itimerspec *value, \
struct itimerspec *ovalue)
version SUNW_0.7
errno EINVAL ENOSYS
end
function timer_gettime
include <time.h>
declaration int timer_gettime(timer_t timerid, struct itimerspec *value)
version SUNW_0.7
errno EINVAL ENOSYS
end
function timer_getoverrun
include <time.h>
declaration int timer_getoverrun(timer_t timerid)
version SUNW_0.7
errno EINVAL ENOSYS
end
function clock_settime
include <time.h>
declaration int clock_settime(clockid_t clock_id, const struct timespec *tp)
version SUNW_0.7
errno EINVAL ENOSYS EPERM
end
function clock_gettime
include <time.h>
declaration int clock_gettime(clockid_t clock_id, struct timespec *tp)
version SUNW_0.7
errno EINVAL ENOSYS EPERM
end
function clock_getres
include <time.h>
declaration int clock_getres(clockid_t clock_id, struct timespec *res)
version SUNW_0.7
errno EINVAL ENOSYS EPERM
end
function _clock_getres
version SUNWprivate_1.1
end
function _clock_gettime
version SUNWprivate_1.1
end
function _clock_settime
version SUNWprivate_1.1
end
function _nanosleep
version SUNWprivate_1.1
end
function _clock_nanosleep
version SUNWprivate_1.1
end
function _timer_create
version SUNWprivate_1.1
end
function _timer_delete
version SUNWprivate_1.1
end
function _timer_getoverrun
version SUNWprivate_1.1
end
function _timer_gettime
version SUNWprivate_1.1
end
function _timer_settime
version SUNWprivate_1.1
end
function fork
version SUNW_1.1
filter libc.so.1
end
function close extends libc/spec/sys.spec
version SUNW_1.2
binding nodirect
end
#
# Weak Specs
#
function _sem_open
weak sem_open
version SUNWprivate_1.1
end
function _sem_close
weak sem_close
version SUNWprivate_1.1
end
function _sem_unlink
weak sem_unlink
version SUNWprivate_1.1
end
function _sem_init
weak sem_init
version SUNWprivate_1.1
end
function _sem_destroy
weak sem_destroy
version SUNWprivate_1.1
end
function _sem_wait
weak sem_wait
version SUNWprivate_1.1
end
function _sem_timedwait
weak sem_timedwait
version SUNWprivate_1.1
end
function _sem_reltimedwait_np
weak sem_reltimedwait_np
version SUNWprivate_1.1
end
function _sem_trywait
weak sem_trywait
version SUNWprivate_1.1
end
function _sem_post
weak sem_post
version SUNWprivate_1.1
end
function _sem_getvalue
weak sem_getvalue
version SUNWprivate_1.1
end
function _sigwaitinfo
weak sigwaitinfo
version SUNWprivate_1.1
end
function _sigtimedwait
weak sigtimedwait
version SUNWprivate_1.1
end
function _sigqueue
weak sigqueue
version SUNWprivate_1.1
end
function __posix_aio_close
weak close
version SUNWprivate_1.1
end
|