18 lines
248 B
C
18 lines
248 B
C
|
/*
|
||
|
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||
|
*/
|
||
|
|
||
|
#include<stdio.h>
|
||
|
// void fputc(char s, FILE* f);
|
||
|
|
||
|
void file_print(char* s, FILE* f)
|
||
|
{
|
||
|
while(0 != s[0])
|
||
|
{
|
||
|
fputc(s[0], f);
|
||
|
s = s + 1;
|
||
|
}
|
||
|
}
|