Home | History | Annotate | Download | only in arch-mips64
      1 /*
      2  * Copyright 2014, The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *     http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 #include <portability.h>
     18 #include <stdarg.h>
     19 #include <stdarg_portable.h>
     20 
     21 #include <stdio.h>
     22 
     23 int WRAP(vfprintf)(FILE *stream, const char *format, va_list_portable *arg) {
     24   return REAL(vfprintf)(stream, format, arg);
     25 }
     26 
     27 int WRAP(vfscanf)(FILE *stream, const char *format, va_list_portable *arg) {
     28   return REAL(vfscanf)(stream, format, arg);
     29 }
     30 
     31 int WRAP(vprintf)(const char *format, va_list_portable *arg) {
     32   return REAL(vprintf)(format, arg);
     33 }
     34 
     35 int WRAP(vscanf)(const char *format, va_list_portable *arg) {
     36   return REAL(vscanf)(format, arg);
     37 }
     38 
     39 int WRAP(vsnprintf)(char *s, size_t n, const char *format, va_list_portable *arg) {
     40   return REAL(vsnprintf)(s, n, format, arg);
     41 }
     42 
     43 int WRAP(vsprintf)(char *s, const char *format, va_list_portable *arg) {
     44   return REAL(vsprintf)(s, format, arg);
     45 }
     46 
     47 int WRAP(vsscanf)(const char *s, const char *format, va_list_portable *arg) {
     48   return REAL(vsscanf)(s, format, arg);
     49 }
     50 
     51