scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#include <stdio.h>
 2#include <string.h>
 3#include <wchar.h>
 4
 5#undef clearerr
 6
 7void
 8clearerr(FILE *fp)
 9{
10	fp->flags &= ~(_IOERR | _IOEOF);
11	memset(&fp->mbs, 0, sizeof(mbstate_t));
12}