OLD | NEW |
1 /* Checking macros for fcntl functions. | 1 /* Checking macros for fcntl functions. |
2 Copyright (C) 2007 Free Software Foundation, Inc. | 2 Copyright (C) 2007 Free Software Foundation, Inc. |
3 This file is part of the GNU C Library. | 3 This file is part of the GNU C Library. |
4 | 4 |
5 The GNU C Library is free software; you can redistribute it and/or | 5 The GNU C Library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Lesser General Public | 6 modify it under the terms of the GNU Lesser General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2.1 of the License, or (at your option) any later version. | 8 version 2.1 of the License, or (at your option) any later version. |
9 | 9 |
10 The GNU C Library is distributed in the hope that it will be useful, | 10 The GNU C Library is distributed in the hope that it will be useful, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 if (__va_arg_pack_len () < 1) | 89 if (__va_arg_pack_len () < 1) |
90 return __open64_2 (__path, __oflag); | 90 return __open64_2 (__path, __oflag); |
91 | 91 |
92 return __open64_alias (__path, __oflag, __va_arg_pack ()); | 92 return __open64_alias (__path, __oflag, __va_arg_pack ()); |
93 } | 93 } |
94 #endif | 94 #endif |
95 | 95 |
96 | 96 |
97 #ifdef __USE_ATFILE | 97 #ifdef __USE_ATFILE |
98 # ifndef __USE_FILE_OFFSET64 | 98 # if !defined(__USE_FILE_OFFSET64) || defined(__native_client__) |
99 extern int __openat_2 (int __fd, __const char *__path, int __oflag) | 99 extern int __openat_2 (int __fd, __const char *__path, int __oflag) |
100 __nonnull ((2)); | 100 __nonnull ((2)); |
101 extern int __REDIRECT (__openat_alias, (int __fd, __const char *__path, | 101 extern int __REDIRECT (__openat_alias, (int __fd, __const char *__path, |
102 int __oflag, ...), openat) | 102 int __oflag, ...), openat) |
103 __nonnull ((2)); | 103 __nonnull ((2)); |
104 # else | 104 # else |
105 extern int __REDIRECT (__openat_2, (int __fd, __const char *__path, | 105 extern int __REDIRECT (__openat_2, (int __fd, __const char *__path, |
106 int __oflag), __openat64_2) | 106 int __oflag), __openat64_2) |
107 __nonnull ((2)); | 107 __nonnull ((2)); |
108 extern int __REDIRECT (__openat_alias, (int __fd, __const char *__path, | 108 extern int __REDIRECT (__openat_alias, (int __fd, __const char *__path, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 return __openat64_alias (__fd, __path, __oflag, __va_arg_pack ()); | 164 return __openat64_alias (__fd, __path, __oflag, __va_arg_pack ()); |
165 } | 165 } |
166 | 166 |
167 if (__va_arg_pack_len () < 1) | 167 if (__va_arg_pack_len () < 1) |
168 return __openat64_2 (__fd, __path, __oflag); | 168 return __openat64_2 (__fd, __path, __oflag); |
169 | 169 |
170 return __openat64_alias (__fd, __path, __oflag, __va_arg_pack ()); | 170 return __openat64_alias (__fd, __path, __oflag, __va_arg_pack ()); |
171 } | 171 } |
172 # endif | 172 # endif |
173 #endif | 173 #endif |
OLD | NEW |