autofs: disable by default
[unleashed.git] / include / iso / stdio_c99.h
blob82ed9f2c2dad774c54a95813fa1556dfd33d5e10
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
26 * Use is subject to license terms.
30 * An application should not include this header directly. Instead it
31 * should be included only through the inclusion of other Sun headers.
33 * The contents of this header is limited to identifiers specified in
34 * the C99 standard and in conflict with the C++ implementation of the
35 * standard header. The C++ standard may adopt the C99 standard at
36 * which point it is expected that the symbols included here will
37 * become part of the C++ std namespace.
40 #ifndef _ISO_STDIO_C99_H
41 #define _ISO_STDIO_C99_H
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
48 * The following have been added as a result of the ISO/IEC 9899:1999
49 * standard. For a strictly conforming C application, visibility is
50 * contingent on the value of __STDC_VERSION__ (see sys/feature_tests.h).
51 * For non-strictly conforming C applications, there are no restrictions
52 * on the C namespace.
55 #if defined(__EXTENSIONS__) || defined(_STDC_C99) || \
56 (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX))
58 extern int vfscanf(FILE *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, __va_list);
59 extern int vscanf(const char *_RESTRICT_KYWD, __va_list);
60 extern int vsscanf(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
61 __va_list);
62 #endif /* defined(__EXTENSIONS__) ... */
63 #if defined(__EXTENSIONS__) || defined(_STDC_C99) || \
64 (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \
65 defined(_XPG5)
66 extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
67 ...);
68 extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
69 __va_list);
71 #endif /* defined(__EXTENSIONS__) || defined(_STDC_C99) ... */
73 #ifdef __cplusplus
75 #endif
77 #endif /* _ISO_STDIO_C99_H */