summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/spec/i18n.spec
blob: b6b830910f4e47b938c9372703386c24a401cb99 (plain)
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
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
#
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (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
#
# ident	"%Z%%M%	%I%	%E% SMI"
#

function	bindtextdomain 
include		<libintl.h>, <locale.h>
declaration	char *bindtextdomain(const char *domainname, const char *dirname)
version		SUNW_1.1
end

function	bind_textdomain_codeset
include		<libintl.h>
declaration	char *bind_textdomain_codeset(const char *domainname, \
			const char *codeset)
version		SUNW_1.21
end

function	dcgettext 
include		<libintl.h>, <locale.h>
declaration	char *dcgettext(const char *domainname, const char *msgid, \
			int category)
version		SUNW_1.1
end

function	dcngettext 
include		<libintl.h>, <locale.h>
declaration	char *dcngettext(const char *domainname, \
			const char *msgid1, const char *msgid2, \
			unsigned long int n, int category)
version		SUNW_1.21
end

function	dgettext 
include		<libintl.h>, <locale.h>
declaration	char *dgettext(const char *domainname, const char *msgid)
version		SUNW_1.1
end

function	dngettext 
include		<libintl.h>
declaration	char *dngettext(const char *domainname, \
			const char *msgid1, const char *msgid2, \
			unsigned long int n)
version		SUNW_1.21
end

function	fgetwc 
include		<stdio.h>, <wchar.h>
declaration	wint_t fgetwc(FILE *stream)
version		SUNW_1.1
errno		EAGAIN EBADF EINTR EIO EOVERFLOW ENOMEM ENXIO EILSEQ
exception	$return == WEOF && errno != 0
end

function	finite 
include		<ieeefp.h>
declaration	int finite(double dsrc)
version		SUNW_0.7
exception	$return == 0
end

function	fnmatch 
include		<fnmatch.h>
declaration	int fnmatch(const char *pattern, const char *string, int flags)
version		SUNW_0.8
exception	$return != 0 &&  $return != FNM_NOMATCH
end

function	fpclass 
include		<ieeefp.h>
declaration	fpclass_t fpclass(double dsrc)
version		SUNW_0.7
exception	$return == 0
end

function	fputwc 
include		<stdio.h>, <wchar.h>
declaration	wint_t fputwc(wint_t wc, FILE *stream)
version		SUNW_1.1
errno		EAGAIN EBADF EFBIG EINTR EIO ENOSPC EPIPE ENOMEM ENXIO EILSEQ
exception	$return == WEOF && errno != 0
end

function	fputws 
include		<stdio.h>, <wchar.h>
declaration	int fputws(const wchar_t *_RESTRICT_KYWD s, \
		FILE *_RESTRICT_KYWD stream)
version		SUNW_1.1
exception	$return == -1
end

function	gettext 
include		<libintl.h>, <locale.h>
declaration	char *gettext(const char *msgid)
version		SUNW_1.1 
end

function	getwc 
include		<stdio.h>, <wchar.h>
declaration	wint_t getwc(FILE *stream)
version		SUNW_1.1 
errno		EAGAIN EBADF EINTR EIO EOVERFLOW ENOMEM ENXIO EILSEQ
exception	$return == WEOF && errno != 0
end

function	getwchar 
include		<wchar.h>
declaration	wint_t getwchar(void)
version		SUNW_1.1 
errno		EAGAIN EBADF EINTR EIO EOVERFLOW ENOMEM ENXIO EILSEQ
exception	$return == WEOF && errno != 0
end

function	isalnum 
include		<ctype.h>, <limits.h>
declaration	int isalnum(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	isalpha 
include		<ctype.h>, <limits.h>
declaration	int isalpha(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	isascii 
include		<ctype.h>, <limits.h>
declaration	int isascii(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	_isascii
weak		isascii
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	isblank
include		<ctype.h>
declaration	int isblank(int c)
version		SUNW_1.22
exception	$return == 0
end

function	iscntrl 
include		<ctype.h>, <limits.h>
declaration	int iscntrl(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	isdigit 
include		<ctype.h>, <limits.h>
declaration	int isdigit(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	isenglish 
include		<wchar.h>
declaration	int isenglish(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	isgraph 
include		<ctype.h>, <limits.h>
declaration	int isgraph(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	isideogram 
include		<wchar.h>
declaration	int isideogram(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	islower 
include		<ctype.h>, <limits.h>
declaration	int islower(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	isnumber 
include		<wchar.h>
declaration	int isnumber(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	isphonogram 
include		<wchar.h>
declaration	int isphonogram(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	isprint 
include		<ctype.h>, <limits.h>
declaration	int isprint(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	ispunct 
include		<ctype.h>, <limits.h>
declaration	int ispunct(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	isspace 
include		<ctype.h>, <limits.h>
declaration	int isspace(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	isspecial 
include		<wchar.h>
declaration	int isspecial(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	isupper 
include		<ctype.h>, <limits.h>
declaration	int isupper(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	iswalnum 
include		<wchar.h>
declaration	int iswalnum(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswalpha 
include		<wchar.h>
declaration	int iswalpha(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswblank
include		<wctype.h>
declaration	int iswblank(wint_t c)
version		SUNW_1.22
exception	$return == 0
end

function	iswcntrl 
include		<wchar.h>
declaration	int iswcntrl(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswctype 
include		<wchar.h>
declaration	int iswctype(wint_t wc, wctype_t charclass)
version		SUNW_1.1 
exception	$return == 0
end

function	iswdigit 
include		<wchar.h>
declaration	int iswdigit(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswgraph 
include		<wchar.h>
declaration	int iswgraph(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswlower 
include		<wchar.h>
declaration	int iswlower(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswprint 
include		<wchar.h>
declaration	int iswprint(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswpunct 
include		<wchar.h>
declaration	int iswpunct(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswspace 
include		<wchar.h>
declaration	int iswspace(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswupper 
include		<wchar.h>
declaration	int iswupper(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	iswxdigit 
include		<wchar.h>
declaration	int iswxdigit(wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	isxdigit 
include		<ctype.h>, <limits.h>
declaration	int isxdigit(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == 0
end

function	localeconv 
include		<locale.h>
declaration	struct lconv *localeconv(void)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	mblen 
include		<stdlib.h>
declaration	int mblen(const char *s, size_t n)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
errno		EILSEQ 
exception	$return == 0
end

function	mbstowcs 
include		<stdlib.h>
declaration	size_t mbstowcs(wchar_t *_RESTRICT_KYWD pwcs, \
		const char *_RESTRICT_KYWD s, size_t n)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == -1
end

function	mbtowc 
include		<stdlib.h>
declaration	int mbtowc(wchar_t *_RESTRICT_KYWD pwc, \
		const char *_RESTRICT_KYWD s, size_t n)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
errno		EILSEQ 
exception	$return == -1
end

function	ngettext 
include		<libintl.h>
declaration	char *ngettext(const char *msgid1, const char *msgid2, \
			unsigned long int n)
version		SUNW_1.21 
end

function	nl_langinfo
include		<langinfo.h>
declaration	char *nl_langinfo(nl_item item)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	_nl_langinfo
weak		nl_langinfo
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	putwc 
include		<stdio.h>, <wchar.h>
declaration	wint_t putwc(wint_t wc, FILE *stream)
version		SUNW_1.1 
errno		EAGAIN EBADF EFBIG EINTR EIO ENOSPC EPIPE ENOMEM ENXIO EILSEQ
exception	$return == WEOF && errno != 0
end

function	putwchar 
include		<wchar.h>
declaration	wint_t putwchar(wint_t wc)
version		SUNW_1.1 
errno		EAGAIN EBADF EFBIG EINTR EIO ENOSPC EPIPE ENOMEM ENXIO EILSEQ
exception	$return == WEOF && errno != 0
end

function	regcomp 
include		<sys/types.h>, <regex.h>
declaration	int regcomp(regex_t *_RESTRICT_KYWD preg, \
		const char *_RESTRICT_KYWD pattern, int cflags)
version		SUNW_0.8 
exception	$return != 0
end

function	regerror 
include		<sys/types.h>, <regex.h>
declaration	size_t regerror(int errcode, \
			const regex_t *_RESTRICT_KYWD preg, \
			char *_RESTRICT_KYWD errbuf, size_t errbuf_size)
version		SUNW_0.8 
exception	$return == 0
end

function	regexec 
include		<sys/types.h>, <regex.h>
declaration	int regexec(const regex_t *_RESTRICT_KYWD preg, \
			const char *_RESTRICT_KYWD string, \
			size_t nmatch, regmatch_t *_RESTRICT_KYWD pmatch, \
			int eflags)
version		SUNW_0.8 
exception	$return == REG_NOMATCH || $return == REG_ENOSYS
end

function	regfree 
include		<sys/types.h>, <regex.h>
declaration	void regfree(regex_t *preg)
version		SUNW_0.8 
end

function	setlocale 
include		<locale.h>
declaration	char *setlocale(int category, const char *locale)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	strcoll 
include		<string.h>
declaration	int strcoll(const char *s1, const char *s2)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	strfmon 
include		<monetary.h>
declaration	ssize_t strfmon(char *_RESTRICT_KYWD s, size_t maxsize, \
			const char *_RESTRICT_KYWD format, ...)
version		SUNW_0.8 
errno		ENOSYS 
exception	$return == -1
end

function	strptime 
include		<time.h>
declaration	char *strptime(const char *_RESTRICT_KYWD buf, \
		const char *_RESTRICT_KYWD format, \
		struct tm *_RESTRICT_KYWD tm)
version		SUNW_0.8 
exception	$return == 0
end

function	strxfrm 
include		<string.h>
declaration	size_t strxfrm(char *_RESTRICT_KYWD s1, \
		const char *_RESTRICT_KYWD s2, size_t n)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == (size_t)-1
end

function	textdomain 
include		<libintl.h>, <locale.h>
declaration	char *textdomain(const char *domainname)
version		SUNW_1.1 
end

function	toascii
include		<ctype.h>, <limits.h>
declaration	int toascii(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	_toascii
weak		toascii
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	tolower
include		<ctype.h>, <limits.h>
declaration	int tolower(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	_tolower
weak		tolower
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	toupper
include		<ctype.h>, <limits.h>
declaration	int toupper(int c)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	_toupper
weak		toupper
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
end

function	towlower 
include		<wchar.h>
declaration	wint_t towlower(wint_t c)
version		SUNW_1.1 
end

function	towupper 
include		<wchar.h>
declaration	wint_t towupper(wint_t c)
version		SUNW_1.1 
end

function	ungetwc 
include		<stdio.h>, <wchar.h>
declaration	wint_t ungetwc(wint_t wc, FILE *stream)
version		SUNW_1.1 
errno		EILSEQ 
exception	$return == WEOF
end

function	unordered 
include		<ieeefp.h>
declaration	int unordered(double dsrc1, double dsrc2)
version		SUNW_0.7 
exception	$return == 0
end

function	watoll 
#NOTE: long long breaks adl
include		<wchar.h>
declaration	long long watoll(wchar_t *nptr)
version		SUNW_1.1 
errno		EINVAL ERANGE
exception	errno != 0
end

function	wcscat 
include		<wchar.h>
declaration	wchar_t *wcscat(wchar_t *_RESTRICT_KYWD ws1, \
			const wchar_t *_RESTRICT_KYWD ws2)
version		SUNW_1.1 
end

function	wcschr 
include		<wchar.h>
declaration	wchar_t *wcschr(const wchar_t *ws,	wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	wcscmp 
include		<wchar.h>
declaration	int wcscmp(const wchar_t *ws1, const wchar_t *ws2)
version		SUNW_1.1 
end

function	wcscoll 
include		<wchar.h>
declaration	int wcscoll(const wchar_t *ws1, const wchar_t *ws2)
version		SUNW_1.1 
errno		EINVAL ENOSYS
exception	errno != 0
end

function	wcscpy 
include		<wchar.h>
declaration	wchar_t *wcscpy(wchar_t *_RESTRICT_KYWD ws1, \
			const wchar_t *_RESTRICT_KYWD ws2)
version		SUNW_1.1 
end

function	wcsftime 
include		<wchar.h>
declaration	size_t wcsftime(wchar_t *_RESTRICT_KYWD wcs, size_t maxsize, \
			const wchar_t *_RESTRICT_KYWD format, \
			const struct tm *_RESTRICT_KYWD timptr)
version		SUNW_1.1 
exception	$return == 0
end

function	wcslen 
include		<wchar.h>
declaration	size_t wcslen(const wchar_t *ws)
version		SUNW_1.1 
end

function	wcsncat 
include		<wchar.h>
declaration	wchar_t *wcsncat(wchar_t *_RESTRICT_KYWD ws1, \
		const wchar_t *_RESTRICT_KYWD ws2, size_t n)
version		SUNW_1.1 
end

function	wcsncmp 
include		<wchar.h>
declaration	int wcsncmp(const wchar_t *ws1, const wchar_t *ws2, size_t n)
version		SUNW_1.1 
end

function	wcsncpy 
include		<wchar.h>
declaration	wchar_t *wcsncpy(wchar_t *_RESTRICT_KYWD ws1, \
		const wchar_t *_RESTRICT_KYWD ws2, size_t n)
version		SUNW_1.1 
end

function	wcspbrk 
include		<wchar.h>
declaration	wchar_t *wcspbrk(const wchar_t *ws1, const	wchar_t	*ws2)
version		SUNW_1.1 
end

function	wcsrchr 
include		<wchar.h>
declaration	wchar_t *wcsrchr(const wchar_t *ws, wchar_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	wcstod 
include		<wchar.h>
declaration	double wcstod(const wchar_t *_RESTRICT_KYWD nptr, \
		wchar_t	**_RESTRICT_KYWD endptr)
version		SUNW_1.1 
errno		ERANGE EINVAL
exception	errno != 0
end

function	wcstof 
include		<wchar.h>
declaration	float wcstof(const wchar_t *_RESTRICT_KYWD nptr, \
		wchar_t **_RESTRICT_KYWD endptr)
version		SUNW_1.22 
errno		ERANGE EINVAL
exception	errno != 0
end

function	wcstoimax
include		<stddef.h>, <inttypes.h>
declaration	intmax_t wcstoimax(const wchar_t *_RESTRICT_KYWD nptr, \
			wchar_t **_RESTRICT_KYWD endptr, int base)
version		SUNW_1.22
end			

function	_wcstoimax_c89
include		<stddef.h>, <inttypes.h>
declaration	int32_t _wcstoimax_c89(const wchar_t *_RESTRICT_KYWD nptr, \
			wchar_t **_RESTRICT_KYWD endptr, int base)
arch		sparc i386			
version		SUNWprivate_1.1
end			

function	wcstol 
include		<wchar.h>
declaration	long int wcstol(const wchar_t *_RESTRICT_KYWD nptr, \
		wchar_t **_RESTRICT_KYWD endptr, int base)
version		SUNW_1.1 
errno		EINVAL ERANGE
exception	errno != 0
end

function	wcstold 
include		<wchar.h>
declaration	long double wcstold(const wchar_t *_RESTRICT_KYWD nptr, \
		wchar_t **_RESTRICT_KYWD endptr)
version		SUNW_1.22 
errno		ERANGE EINVAL
exception	errno != 0
end

function	wcstoll
include		<wchar.h>
declaration	long long wcstoll(const wchar_t *_RESTRICT_KYWD nptr, \
    			wchar_t **_RESTRICT_KYWD endptr, int base)
version		SUNW_1.22
errno		EINVAL ERANGE
exception	errno != 0
end

function	wcstombs 
include		<stdlib.h>
declaration	size_t wcstombs(char *_RESTRICT_KYWD s, \
		const wchar_t *_RESTRICT_KYWD pwcs, size_t n)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == -1
end

function	wcstoul 
include		<wchar.h>
declaration	unsigned long int wcstoul(const wchar_t *_RESTRICT_KYWD nptr, \
			wchar_t **_RESTRICT_KYWD endptr, int base)
version		SUNW_1.1 
errno		EINVAL ERANGE
exception	errno != 0
end

function	wcstoull
include		<wchar.h>
declaration	unsigned long long wcstoull( \
			const wchar_t *_RESTRICT_KYWD nptr, \
			wchar_t **_RESTRICT_KYWD endptr, int base)
version		SUNW_1.22
errno		EINVAL ERANGE
exception	errno != 0
end

function	wcstoumax
include		<stddef.h>, <inttypes.h>
declaration	uintmax_t wcstoumax(const wchar_t *_RESTRICT_KYWD nptr, \
			wchar_t **_RESTRICT_KYWD endptr, int base)
version		SUNW_1.22
end			

function	_wcstoumax_c89
include		<stddef.h>, <inttypes.h>
declaration	uint32_t _wcstoumax_c89(const wchar_t *_RESTRICT_KYWD nptr, \
			wchar_t **_RESTRICT_KYWD endptr, int base)
arch		sparc i386			
version		SUNWprivate_1.1
end			

function	wcswidth 
include		<wchar.h>
declaration	int wcswidth(const wchar_t *pwcs, size_t n)
version		SUNW_1.1 
exception	$return == -1
end

function	wcsxfrm 
include		<wchar.h>
declaration	size_t wcsxfrm(wchar_t *_RESTRICT_KYWD ws1, \
			const wchar_t *_RESTRICT_KYWD ws2, size_t n)
version		SUNW_1.1 
errno		EINVAL ENOSYS
exception	errno != 0
end

function	wctomb 
include		<stdlib.h>
declaration	int wctomb(char *s, wchar_t wchar)
version		sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
		amd64=SUNW_0.7
exception	$return == -1
end

function	wctype 
include		<wchar.h>
declaration	wctype_t wctype(const char *charclass)
version		SUNW_1.1 
exception	$return == 0
end

function	wcwidth 
include		<wchar.h>
declaration	int wcwidth(wint_t	wc)
version		SUNW_1.1 
exception	$return == -1
end

function	wscat 
include		<wchar.h>
declaration	wchar_t *wscat(wchar_t *ws1, const wchar_t *ws2)
version		SUNW_1.1 
end

function	wschr 
include		<wchar.h>
declaration	wchar_t *wschr(const wchar_t *ws, wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	wscmp 
include		<wchar.h>
declaration	int wscmp(const wchar_t *ws1, const wchar_t *ws2)
version		SUNW_1.1 
end

function	wscoll 
include		<wchar.h>
declaration	int wscoll(const wchar_t *ws1, const wchar_t *ws2)
version		SUNW_1.1 
errno		EINVAL ENOSYS
exception	errno != 0
end

function	wscpy 
include		<wchar.h>
declaration	wchar_t *wscpy(wchar_t *ws1, const wchar_t *ws2)
version		SUNW_1.1 
end

function	wslen 
include		<wchar.h>
declaration	size_t wslen(const	wchar_t	*ws)
version		SUNW_1.1 
end

function	wsncat 
include		<wchar.h>
declaration	wchar_t *wsncat(wchar_t *ws1, const wchar_t *ws2, size_t n)
version		SUNW_1.1 
end

function	wsncmp 
include		<wchar.h>
declaration	int wsncmp(const wchar_t *ws1, const wchar_t *ws2, size_t n)
version		SUNW_1.1 
end

function	wsncpy 
include		<wchar.h>
declaration	wchar_t *wsncpy(wchar_t *ws1, const wchar_t *ws2, size_t n)
version		SUNW_1.1 
end

function	wspbrk 
include		<wchar.h>
declaration	wchar_t *wspbrk(const wchar_t *ws1, const wchar_t *ws2)
version		SUNW_1.1 
end

function	wsrchr 
include		<wchar.h>
declaration	wchar_t *wsrchr(const wchar_t *ws,	wint_t wc)
version		SUNW_1.1 
exception	$return == 0
end

function	wstod 
include		<wchar.h>
declaration	double wstod(const	wchar_t	*nptr, wchar_t **endptr)
version		SUNW_1.1 
errno		ERANGE EINVAL
exception	errno != 0
end

function	wstol 
include		<wchar.h>
declaration	long int wstol(const wchar_t *nptr, wchar_t **endptr, int base)
version		SUNW_1.1 
errno		EINVAL ERANGE
exception	errno != 0
end

function	wsxfrm 
include		<wchar.h>
declaration	size_t wsxfrm(wchar_t *ws1, const wchar_t *ws2, size_t n)
version		SUNW_1.1 
errno		EINVAL ENOSYS
exception	errno != 0
end