2021-02-08 06:23:31 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
2020-12-25 07:40:14 +00:00
|
|
|
*
|
2021-02-08 06:23:31 +00:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2020-12-25 07:40:14 +00:00
|
|
|
*/
|
2021-02-08 06:23:31 +00:00
|
|
|
|
2020-12-25 07:40:14 +00:00
|
|
|
#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;
|
|
|
|
}
|
|
|
|
}
|