| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE.md file. | |
| 4 | |
| 5 #include <stdio.h> | |
| 6 #include <stdlib.h> | |
| 7 #include <string.h> | |
| 8 #include <unistd.h> | |
| 9 | |
| 10 FILE* fopen$UNIX2003(const char* filename, const char* mode) { | |
| 11 return fopen(filename, mode); | |
| 12 } | |
| 13 | |
| 14 size_t fwrite$UNIX2003(const void* a, size_t b, size_t c, FILE* d) { | |
| 15 return fwrite(a, b, c, d); | |
| 16 } | |
| 17 | |
| 18 int fputs$UNIX2003(const char* restrict str, FILE* restrict stream) { | |
| 19 return fputs(str, stream); | |
| 20 } | |
| OLD | NEW |