]>
Commit | Line | Data |
---|---|---|
3d9156a7 | 1 | /* |
34e8f829 | 2 | * Copyright (c) 2005, 2009 Apple Inc. All rights reserved. |
3d9156a7 A |
3 | * |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
6 | * This file contains Original Code and/or Modifications of Original Code | |
7 | * as defined in and that are subject to the Apple Public Source License | |
8 | * Version 2.0 (the 'License'). You may not use this file except in | |
9 | * compliance with the License. Please obtain a copy of the License at | |
10 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
11 | * file. | |
12 | * | |
13 | * The Original Code and all software distributed under the License are | |
14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | |
18 | * Please see the License for the specific language governing rights and | |
19 | * limitations under the License. | |
20 | * | |
21 | * @APPLE_LICENSE_HEADER_END@ | |
22 | */ | |
23 | ||
24 | #ifndef _XLOCALE__STDIO_H_ | |
25 | #define _XLOCALE__STDIO_H_ | |
26 | ||
27 | __BEGIN_DECLS | |
28 | int asprintf_l(char **, locale_t, const char *, ...) | |
34e8f829 | 29 | __DARWIN_LDBL_COMPAT2(asprintf_l) __printflike(3, 4); |
3d9156a7 | 30 | int fprintf_l(FILE * __restrict, locale_t, const char * __restrict, ...) |
34e8f829 | 31 | __DARWIN_LDBL_COMPAT2(fprintf_l) __printflike(3, 4); |
3d9156a7 | 32 | int fscanf_l(FILE * __restrict, locale_t, const char * __restrict, ...) |
34e8f829 | 33 | __DARWIN_LDBL_COMPAT2(fscanf_l) __scanflike(3, 4); |
3d9156a7 | 34 | int printf_l(locale_t, const char * __restrict, ...) |
34e8f829 | 35 | __DARWIN_LDBL_COMPAT2(printf_l) __printflike(2, 3); |
3d9156a7 | 36 | int scanf_l(locale_t, const char * __restrict, ...) |
34e8f829 | 37 | __DARWIN_LDBL_COMPAT2(scanf_l) __scanflike(2, 3); |
3d9156a7 | 38 | int snprintf_l(char * __restrict, size_t, locale_t, |
34e8f829 A |
39 | const char * __restrict, ...) |
40 | __DARWIN_LDBL_COMPAT2(snprintf_l) __printflike(4, 5); | |
3d9156a7 | 41 | int sprintf_l(char * __restrict, locale_t, const char * __restrict, ...) |
34e8f829 | 42 | __DARWIN_LDBL_COMPAT2(sprintf_l) __printflike(3, 4); |
3d9156a7 | 43 | int sscanf_l(const char * __restrict, locale_t, const char * __restrict, |
34e8f829 | 44 | ...) __DARWIN_LDBL_COMPAT2(sscanf_l) __scanflike(3, 4); |
3d9156a7 | 45 | int vasprintf_l(char **, locale_t, const char *, va_list) |
34e8f829 | 46 | __DARWIN_LDBL_COMPAT2(vasprintf_l) __printflike(3, 0); |
3d9156a7 | 47 | int vfprintf_l(FILE * __restrict, locale_t, const char * __restrict, |
34e8f829 | 48 | va_list) __DARWIN_LDBL_COMPAT2(vfprintf_l) __printflike(3, 0); |
3d9156a7 | 49 | int vfscanf_l(FILE * __restrict, locale_t, const char * __restrict, |
34e8f829 | 50 | va_list) __DARWIN_LDBL_COMPAT2(vfscanf_l) __scanflike(3, 0); |
3d9156a7 | 51 | int vprintf_l(locale_t, const char * __restrict, va_list) |
34e8f829 | 52 | __DARWIN_LDBL_COMPAT2(vprintf_l) __printflike(2, 0); |
3d9156a7 | 53 | int vscanf_l(locale_t, const char * __restrict, va_list) |
34e8f829 | 54 | __DARWIN_LDBL_COMPAT2(vscanf_l) __scanflike(2, 0); |
3d9156a7 A |
55 | int vsnprintf_l(char * __restrict, size_t, locale_t, |
56 | const char * __restrict, va_list) | |
34e8f829 | 57 | __DARWIN_LDBL_COMPAT2(vsnprintf_l) __printflike(4, 0); |
3d9156a7 | 58 | int vsprintf_l(char * __restrict, locale_t, const char * __restrict, |
34e8f829 | 59 | va_list) __DARWIN_LDBL_COMPAT2(vsprintf_l) __printflike(3, 0); |
3d9156a7 | 60 | int vsscanf_l(const char * __restrict, locale_t, const char * __restrict, |
34e8f829 | 61 | va_list) __DARWIN_LDBL_COMPAT2(vsscanf_l) __scanflike(3, 0); |
3d9156a7 A |
62 | __END_DECLS |
63 | ||
64 | #endif /* _XLOCALE__STDIO_H_ */ |