Ignore:
Timestamp:
Jun 7, 2019, 10:13:19 PM (5 years ago)
Author:
coas-nagasima
Message:

ファイルヘッダーの更新

Location:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/__fdopen.c

    r337 r400  
    5858}
    5959
    60 #ifndef __c2__
    6160weak_alias(__fdopen, fdopen);
    62 #else
    63 FILE *fdopen(int fd, const char *mode)
    64 {
    65         return __fdopen(fd, mode);
    66 }
    67 #endif
  • asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/__stdio_close.c

    r337 r400  
    11#include "stdio_impl.h"
    22
    3 #ifndef __c2__
    43static int dummy(int fd)
    54{
     
    87
    98weak_alias(dummy, __aio_close);
    10 #else
    11 extern int __aio_close(int fd);
    12 #endif
    139
    1410int __stdio_close(FILE *f)
  • asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/__stdio_exit.c

    r337 r400  
    11#include "stdio_impl.h"
    22
    3 #ifndef __c2__
    43static FILE *volatile dummy_file = 0;
    54weak_alias(dummy_file, __stdin_used);
    65weak_alias(dummy_file, __stdout_used);
    76weak_alias(dummy_file, __stderr_used);
    8 #else
    9 extern FILE *volatile __stdin_used;
    10 extern FILE *volatile __stdout_used;
    11 #endif
    127
    138static void close_file(FILE *f)
     
    2722}
    2823
    29 #ifndef __c2__
    3024weak_alias(__stdio_exit, __stdio_exit_needed);
    31 #else
    32 void __stdio_exit_needed(void)
    33 {
    34         __stdio_exit();
    35 }
    36 #endif
  • asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/fflush.c

    r337 r400  
    22
    33/* stdout.c will override this if linked */
    4 #ifndef __c2__
    54static FILE *volatile dummy = 0;
    65weak_alias(dummy, __stdout_used);
    7 #else
    8 extern FILE *volatile __stdout_used;
    9 #endif
    106
    117int fflush(FILE *f)
     
    4642}
    4743
    48 #ifndef __c2__
    4944weak_alias(fflush, fflush_unlocked);
    50 #else
    51 int fflush_unlocked(FILE *f)
    52 {
    53         return fflush_unlocked(f);
    54 }
    55 #endif
  • asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/fwrite.c

    r337 r400  
    3636}
    3737
    38 #ifndef __c2__
    3938weak_alias(fwrite, fwrite_unlocked);
    40 #else
    41 size_t fwrite_unlocked(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f)
    42 {
    43         return fwrite(src, size, nmemb, f);
    44 }
    45 #endif
  • asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/vsnprintf.c

    r337 r400  
    5454        return vfprintf(&f, fmt, ap);
    5555}
    56 
    57 #ifdef __c2__
    58 int _vsnprintf(char *restrict s, size_t n, const char *restrict fmt, va_list ap)
    59 {
    60         return vsnprintf(s, n, fmt, ap);
    61 }
    62 #endif
  • asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/vsscanf.c

    r337 r400  
    1717
    1818weak_alias(vsscanf,__isoc99_vsscanf);
    19 
    20 #ifdef __c2__
    21 void _vacopy(va_list a, va_list b)
    22 {
    23         void *c;
    24         c = *(void **)b;
    25         *(void **)a = &c;
    26 }
    27 #endif
Note: See TracChangeset for help on using the changeset viewer.