12 lines
262 B
C
12 lines
262 B
C
#include <stdio.h>
|
|
#include <errno.h>
|
|
|
|
#include "test_helpers.h"
|
|
|
|
int main(void) {
|
|
FILE *f = fopen("stdio/fputs.out", "w");
|
|
char *in = "Hello World!";
|
|
fputs(in, f); // calls fwrite, helpers::fwritex, internal::to_write and internal::stdio_write
|
|
fclose(f);
|
|
}
|